Hi.
I'm trying to run autoit script on remote machine (with psexec from SysInternals\PCTools). Here is how I do it:
1. On local machine, I run the following code (local.bat):
psexec.exe \\remotecomp -u remoteuser -p password -i c:\windows\remote.bat
2. The content of remote.bat located on remote machine:
"C:\Program Files\AutoIt3\autoit3.exe" C:\work\remotetest.au3
3. The content of remotetest.au3:
run ('cmd /c "compmgmt.msc"', @SystemDir, @SW_HIDE)
4. When I run my local.bat