Search found 18 matches
- 27 Sep 2010 10:59
- Forum: DOS Batch Forum
- Topic: Need help using the Call command
- Replies: 3
- Views: 4706
Re: Need help using the Call command
This SHOULD work, but I have run into some things like this before. It could be as simple as an "exit" command or something. Does this first repl_eagan_4_to_5_cwc.cmd script have an "exit" command in it? If not, what happens when you run this script by itself? I put a "pause...
- 21 Sep 2010 11:12
- Forum: DOS Batch Forum
- Topic: Changing Sound Volume using DOS
- Replies: 4
- Views: 5691
Re: Changing Sound Volume using DOS
Well, I did a bit more hunting and it turns out the best way to do this via simple automated means callable from DOS is to write a vbscript. Here's a little something I threw together based on some other stuff I found on ye olde internet: 'volControlvbs volUp=WScript.Arguments(0) sender="{UP &q...
- 21 Sep 2010 06:18
- Forum: DOS Batch Forum
- Topic: Changing Sound Volume using DOS
- Replies: 4
- Views: 5691
Re: Changing Sound Volume using DOS
Hmmm... which only gets me wondering, "How do third party tools do it?". I may give that a shot if nothing else pops up.
Thanks
Thanks
- 20 Sep 2010 18:27
- Forum: DOS Batch Forum
- Topic: Changing Sound Volume using DOS
- Replies: 4
- Views: 5691
Changing Sound Volume using DOS
Hey, I did do a search on this in the forum and I saw a SendKey method can be used to mute the volume, but I am interested in controlling the volume via batch, not just muting and unmuting.
Any ideas?
Thanks!
Any ideas?
Thanks!
- 29 Jan 2010 13:16
- Forum: DOS Batch Forum
- Topic: Dir command Output into a Text file
- Replies: 2
- Views: 4513
Re: Dir command Output into a Text file
You could try something like this: SET directory=\\server\data\jan-2010 FOR /F "tokens=*" %%I in ('dir %directory% /ad /b') DO dir "%directory%\%%I" /a-d /b >> dir.txt You could even play with the /s switch in the dir command to parse through layers of subfolders. Is this any help?
- 29 Jan 2010 12:59
- Forum: DOS Batch Forum
- Topic: Manual vs. automated execution problems
- Replies: 2
- Views: 4185
Manual vs. automated execution problems
I have an audit process that I developed and I made a tweak to it and now it doesn't work as expected when run as a scheduled task. I search for a string in a file and save the output in a temporary file. Here's what I see in the output when automated: ---------- D:\PATH\FILE.TXT: 0 but when run man...
- 19 Jan 2010 07:59
- Forum: DOS Batch Forum
- Topic: strLen Subroutine in Windows 2000 doesn't work
- Replies: 7
- Views: 10334
- 18 Jan 2010 08:00
- Forum: DOS Batch Forum
- Topic: strLen Subroutine in Windows 2000 doesn't work
- Replies: 7
- Views: 10334
- 16 Jan 2010 11:14
- Forum: DOS Batch Forum
- Topic: strLen Subroutine in Windows 2000 doesn't work
- Replies: 7
- Views: 10334
- 16 Jan 2010 07:34
- Forum: DOS Batch Forum
- Topic: SPAM ALERT via P.M.
- Replies: 6
- Views: 8848
- 14 Jan 2010 08:59
- Forum: DOS Batch Forum
- Topic: Clear Contents of a Log File using Batch Script
- Replies: 3
- Views: 8413
Was it just a command process that piped into the log? What you have is potentially a prompt like 'Overwrite File(Y/N)?' in a background process, so what I have done is use TSKILL after finding the PID associated with the log. You can try QUERY PROCESS * to list all active processes and their IDs (N...
- 11 Jan 2010 13:05
- Forum: DOS Batch Forum
- Topic: Check, obtain IP and open internet explorer by batch file
- Replies: 7
- Views: 9415
- 09 Jan 2010 20:46
- Forum: DOS Batch Forum
- Topic: Task Kill
- Replies: 4
- Views: 6405
That is a really cool resource! But all I was saying is that in an effort to kill some hanging background processes on a server at work, I came across TASKKILL but it was useless to me because it was not a recognized command on Windows Server 2000. Same thing with my home edition XP. But TSKILL work...
- 09 Jan 2010 11:10
- Forum: DOS Batch Forum
- Topic: Task Kill
- Replies: 4
- Views: 6405
- 09 Jan 2010 10:28
- Forum: DOS Batch Forum
- Topic: Check, obtain IP and open internet explorer by batch file
- Replies: 7
- Views: 9415