I am trying to schedule the opening of a command line to run task in another pc. But I am not able to open them.
AT \\OTHERPC 15:00 "C:\Windows\System32\cmd.exe" BATCHJOB.bat
Any ideas?
I am trying to schedule the opening of a command line to run task in another pc. But I am not able to open them.
AT \\OTHERPC 15:00 "C:\Windows\System32\cmd.exe" BATCHJOB.bat
Any ideas?
I think you need to point the at command to the batch file, not at the command prompt. Also, you need two backslashes.
for example,
AT \\otherpc 15:00 "C:\temp\batchjob.bat".
What is the error message you are getting ? Do you have sufficient privilege to run AT ? I think you need local admin to run an at command on the local computer and domain admin to run it on another machine.