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!!
How can i create new jobs fot the "AT" command using batch files.? PLEASE READ DETAILS...?
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 %26gt; c:\test.out
This is from Help and support for the AT command
Reply: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
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment