Discussion Locked

Still can't execute NT 'at' command

0 helpful
11 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi,

I've tried those parameters which were advise. The last parameters were:

at 01:00 "call c:\adhoc.bat"

The batch file is in my root directory. Basically in this batch file, it will automate the copying of all subfolders in a specific directory to another directory in another network drive.

Follwoing are the same error msgs.

"call c:\adhoc.bat" command failed to start due to the following error :
The system cannot find the file specified.

Any suggestions ?

11 replies

by mayon

Try this...

AT 01:00 "C:\adhoc.bat" to run it. I think
your CALL is in the adhoc.bat

Good Luck!

by don christner

Go to Start|Help and enter AT. It will list three different articles to look at. The third article is probably the best. If you are scheduling anything other than an EXE, you must use cmd /c in front of the file you wish to run.

Don

by barry

Another approach is to install the latest version of Internet Explorer on your NT machine. This will install Task Scheduler (MSTASK). It shows as an object in Windows Explorer. You will find Task Scheduler easier to use than "AT."

This discussion is closed to new replies.