Hey set up a backup service (rsync) to run M-F and the DOS box that pops up while the script is running is starting to get annoying. Is there a command I can put in the batch file to prevent the DOS box or a setting in Scheduled Tasks (Windows XP) to prevent it? Thanks for the help.
1/26/2009 1:40:04 PM
set up the task to run as a different user
1/26/2009 1:45:49 PM
i tried that but rsync will not work if it is run under a different user.
1/26/2009 2:04:19 PM
Are you on a DOS box, or are you on an XP box?If you're on an XP box, try this:
runner.vbsSet WshShell = CreateObject("WScript.Shell")WshShell.Run chr(34) & "pinger.bat" & Chr(34), 0Set WshShell = Nothing
pinger.batping thewolfweb.com > c:\tempfile.txt
1/26/2009 3:58:08 PM
^ that .vbs script works perfectly! Thank you so much! On a side note....do you know why .vbs does not open a DOS box but .bat does? [Edited on January 26, 2009 at 4:47 PM. Reason : ?]
1/26/2009 4:46:09 PM