Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question

3 Answers 3

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.

share|improve this answer
    
I want to use the cmd so that the next user of the PC can see the job that was run –  Nassign May 18 '10 at 8:14

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

share|improve this answer
up vote 0 down vote accepted

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.