cancel
Showing results for 
Search instead for 
Did you mean: 

MobiLink Agent Run program command

Former Member
1,846

Can someone provide an example of a command line to be executed for the "Run Program" remote task. I am sure the syntax is simple but I cannot get anything to work. There are no examples in the documentation.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member

The format is a executable name followed by parameters. Make sure the executable you're calling is in the path or provide the full path. For example...

xcopy src_file.txt dst_file.txt

This command is passed directly to the OS and doesn't go through the command shell. If you want to execute a shell command, you can do the following...

cmd /c dir > listing.txt