Internal Commands not Recognized with Schedule Service in Windows NT 4.0ID: Q174418
|
In Windows NT 3.51, output from a batch file run by the Schedule service
can be redirected to a log file. An example of this procedure is:
AT 10:00 "dir > c:\logfile.txt"
Added a new job with job ID = 0
In Windows NT 4.0, the Schedule service no longer understands internal
commands as it did in Windows NT 3.51. The Schedule service in Windows NT
4.0, writes a confirmation that the job has been scheduled to the log file.
To redirect output of internal commands to a text file, create a batch job
and schedule the batch job using the "cmd /c" switch. Modifying the
previous example, you would type:
AT 10:00 cmd /c c:\batchfile.bat
where the contents of batchfile.bat are:
Dir > c:\logfile.txt
Additional query words: prodnt at command scheduler winat
Keywords : kbtool nthowto NTSrvWkst ntutil
Version : WinNT:3.51,4.0
Platform : winnt
Issue type : kbprb kbinfo
Last Reviewed: January 16, 1999