I have an issue trying to execute a batch file using Psexec.
For testing purposes, i have an batch file located at the remote server.
The batch file will just do an hello world
Echo HelloWorld
pause.
When i try to execute the batch file using Psexec, it says that my batchfile was successfully started. But When i go into my server it wasn't. I have run the Batch file physically and it works fine. Wondering what exactly had happened.
I have tried using Psexec to shutdown my server. It works but batch file don't!
Appreciate if experts out there could tell me why! Thanks!
cmd /c c:\users\admin\desktop\batchfile\helloworld.bat– Josh Sep 11 '13 at 14:51