PSExec: How to show a JPG file on a remote computer

executablepsexec

I need to start a document on a remote computer instead of an executable file, using PSExec.

I tried to provide the file name of a jpg file to psexec associated with the -c command to copy the file, but the message returned for documents (and not executables) is always "The system cannot find the file specified."

Anyone any ideas what the command-line for psexec should be?

Best Answer

Try to use the command:

cmd.exe /c START c:\path\to\document.jpg

Document must be on the remote computer, so you have to copy it there by other command before calling psexec.

Related Topic