1.

Solve : Using PSEXEC in batch file to open apps on remote machine?

Answer»

Hello,

i need to AUTOMATE the backing up of skype and all it's messages on pc's.

my CURRENT script works fine as long as the application is shutdown.

i could just taskkill the prog but i still need to open it up again after the copy plus i would prefer to shut it down nicely.

i have tried:
psexec \\machine "C:\PROGRAM files\skype\phone\skype.exe" /shutdown

and also tried:
psexec \\machine -i "c:\program files\skype\phone\skype.exe" /shutdown

and:
CALL psexec \\machine "c:\program files\skype\phone\skype.exe" /shutdown


as well as:
psexec \\machine c:\windows\system32\cmd.exe "c:\program files\skype\phone\skype.exe" /shutdown

also, the closest i could get to starting skype again, was the exe actually running on the machine, but not interacting with the desktop at all.


can anybody TELL me what to put in my batch file?

Kind Regards,
Wesley



Discussion

No Comment Found