0

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?

Nassign
  • 101
  • 4

3 Answers3

1

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".

tombull89
  • 2,964
  • 8
  • 41
  • 52
1

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.

user9517
  • 115,471
  • 20
  • 215
  • 297
0

I think I already found the answer, the option /interactive needs to be se

Nassign
  • 101
  • 4