Aller au contenu principal

Post Command Batch Problem

Thread needs solution

I have problem in executing a batch post-command. Other batch commands run fine, but this one does not. The content of the batch simply is: <p>plink admin@[IP-Address] 22 -ssh&nbsp; -pw [password] -v poweroff</p>, where plink resides in c:\windows\system32.

If I enter the "command", "working directory" and "arguments" directly into the ATI-fields, or if I execute the batch directly from the desktop, the command is executed without problems.

Q: What is wrong with the batch?

0 Users found this helpful

Wilfried, I am not familiar with using plink but from your description given above, it looks like you are using this as it should be used.  One thing that I have found at times is that ATI sometimes prefers that .CMD files are used instead of using .BAT files, or sometimes the opposite.

What error messages are you being given when you try to use plink in a batch file?

Never used Plink but suggest you replace admin with NTAUTHORITY  then insert before -pw, -1username of your admin user account associated with the password provided.