|
Command prompt
|
|
| · | The upper black window is used for command feedback:
|
| · | First the entered command together with the process ID is displayed.
|
| · | Then the feedback from the actual command.
|
| · | Click "Clear out" to clear the feedback window.
|
| · | Click "Save out" to save the text in the feedback window.
|
| · | It is possible to copy (CTRL+C) text from the feedback window.
|
| · | Enter commands in the lower white text window.
|
| · | A new command session is created each time you press the enter button. The current remote directory is always %systemroot%\system32 for each new session - in most cases full path must be specified both to the command and to the files that the command uses.
|
| · | Separate commands with the "&&" separator to use multiple commands in the same session.
|
| · | Commands are executed under the system account of the remote machine.
|
| · | Use the arrow keys or the right scrollbar in the command window to select an old command. Press enter to launch a command.
|
| · | Click "Clear in" to clear the command window.
|
| · | It is possible to cut (CTRL+X) and paste (CTRL+V) text in the command window.
|
| · | Use the timeout box to specify how long WinRemote waits for a command to finish. Output from commands that does not finish within the specified time-out period will be interrupted.
|
| · | Set timeout to zero ("0") for no timeout and no command output, use this to launch programs.
|
| · | Since a new session is created for each command row, the cd command to change directory is useless unless you type multiple commands on the same row. Tip: cut, paste and reuse the path in the command window once typed. Also, use the macro buttons for frequently used commands.
|
| · | Commands that waits for input (example: ftp, time) can not be used unless the input is piped directly or sent through an input file.
|
| · | DOS programs that tries to set the cursor position in the output window (example: Norton commander, chkdsk) will either not work or produce a messy output.
|
| · | All programs are started under the system account of the remote machine:
|
| · | It is not possible to run programs and work with files to which the system account has no access.
|
| · | Interactive programs can give a local user more privileges. Example: (tested under NT4 SP4) log on as a normal user, start notepad from another computer with WinRemote, in notepad choose file / save as, right click and choose find, search for "usrmgr" and double-click on the .exe. Now you can create a new administrator account if you want to!
|
| · | Enter "0" in the timeout box, then enter "notepad" in the command window to start notepad.
|
| · | Something like the following will be displayed in the feedback window "\\EDU12>notepad (cmd.exe PID=239, also created during command: 235)". WinRemote always runs commands through the command interpreter cmd.exe, in this example cmd.exe has process ID 239 and notepad.exe has process ID 235. If you want to end notepad, just end process 235, process 239 will automatically end when the mother process ends.
|