Batch file programming Hi again, it's been a while.
i came in because i'm having a problem with a command sequence i'm trying to give to the task manager using cmd with the AT command.
here it is so far:
::SCH-schedules time to initiate netstat//////////////////////////////////////////
:SCH
cls
echo.
echo.
echo setting times for netstat
echo ---------------------------------------------------------------------
at 00:00 /every:m,t,w,th,f,s,su "C:\commands\LOOP1.bat"
at 02:00 /every:m,t,w,th,f,s,su "C:\commands\LOOP2.bat"
at 04:00 /every:m,t,w,th,f,s,su "C:\commands\LOOP3.bat"
so far, this has added the right time and command but when i open up task mngr i see that the "Start in" field is blank.
so far, this has not successfully ran the program that i am calling.
this netstat command sequence is being called from another batch file in which a directory of C:\commands is made and then all the files needed are copied to, before the execution of the :SCH sequence.
is it just a matter of not having the "Start in" or is it something else?
thanks for the help as always. |