Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
rebooting with batch file
Name: hobeau Date: June 8, 2004 at 12:18:55 Pacific OS: Windows XP CPU/Ram: 1 Ghz, 512 Mb
Comment:
I'm trying to set up a scheduled task to reboot my computer at night with a batch file. The batch file I created works fine when I click on it, but when I set it up with my scheduled task manager, it didn't run the file for some reason. Can anyone help?
it's true dbl-clicking a bat file yourself and having it run under the scheduled tasks are going to run from two different accounts and it most likely the cause of your problem.
You can use the RUNAS command to specify which user to run a specific command.
hope that helps.
0
Response Number 3
Name: hobeau Date: June 9, 2004 at 09:44:40 Pacific
Summary: im using the rxvt shell that comes with cygwin, the default prompt is shell-3.0$ and i would like to change it to #. i have tried a batch file like this: @ECHO OFF rxvt.exe && export PS1="#" and like ...
Summary: Good Morning, I'm new to this so please bare with me... I have an ini file I would like to edit with a batch file. Is this possible? I would like to amend line 5 and 6 from... Directory=c:\notes\data ...
Summary: Hi, Can anyone please help me with a batch file that will run a program called "abc.exe" and when prompted to click "yes" or "no" it will automatically answer "yes" and after the installation is compl...