Specifies one or more commands to run on the remote server. Use a semicolon (;) to separate multiple commands. After a connection is established the server executes (or attempts to execute) the specified command(s), and then the session terminates. The server must be configured to allow commands received from the client to run.
The commands must be specified in the correct format for your server. For example, to capture a directory listing on a UNIX server, you might specify the following:
ls > list.txt
On a Windows server, the equivalent command would be one of the following, depending on how the Windows server is configured:
dir > list.txt
cmd /c dir > list.txt