English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I can manually set new jobs in a DOS window for the windows NT "AT" command, but i would like to create them in a .bat file to automate and make the process faster each time i need them on other computers.
Here is an example that does not work using a batch file:

at 23:13 /interactive "c:\example.bat"

Then i check the list of jobs and there is nothing about it.
But if i type the same line in a DOS window, the job gets added to the list without problems..

Any clues?

Thanks!!

2006-12-16 15:42:37 · 3 answers · asked by axo 2 in Computers & Internet Security

3 answers

Loading Cmd.exe
At does not automatically load Cmd.exe, the command interpreter, before running commands. If you are not running an executable (.exe) file, you must explicitly load Cmd.exe at the beginning of the command as follows:

cmd /c dir > c:\test.out

This is from Help and support for the AT command

2006-12-16 15:57:08 · answer #1 · answered by Anonymous · 0 0

have you ever actual examine the a number of further archives on right here? many cases the question develop right into a lot more beneficial with out them. Then too, further archives seem as you're answering or afterwards... there have been some cases that i have ignored area of the archives or did not examine them.

2016-11-26 23:37:11 · answer #2 · answered by karsten 4 · 0 0

You can do all that much easier with VBScript. Shoot me an email and I can send you a sample script...lv_consultant@yahoo.com

2006-12-16 17:17:10 · answer #3 · answered by lv_consultant 7 · 0 1

fedest.com, questions and answers