![]() |
Reference Manual |
![]() |
NAME
exec - execute an application within the host operating syatemSYNOPSIS
desktop filename [args...]DESCRIPTION
exec filename [args...]
execd filename [args...]
execr filename [args...]
ie [url] | [-e path]
win filename [args...]
execs filename [args...]
execw filename [args...]
Desktop executes the specfied filename on the current Desktop. This command can be used to execute Files, Applications and Shortcuts, and to open Desktop Folders. No error messages are returned and no interaction with the subsequent Process is possible from within NAT32.SEE ALSOExec invokes filename with the specified arguments as a process within Windows. Windows' naming conventions apply to the named file, and the file must be located within Windows' search path. Exec returns an error message from Windows if the application could not be executed. Once the application is running, NAT32 has no further control over it.
Execd runs the process in detached mode (requires privilege under Windows NT).
Execr runs the process with its stdio devices redirected to the NAT32 STDIO devices. The command blocks until the process terminates. The running process can be interrupted by typing Ctrl-C in the window of the process. Applications which do not use stdio devices must be terminated using whatever method the application requires.
The execr command allows any Windows Console Mode application to be executed and its output captured. The pipe and redirection mechanisms of the NAT32 shell work as expected.
The command execr cmd.exe (or execr command.com on legacy platforms) allows a Windows Console to be started within a NAT32 Console. Its command interpreter must be terminated with the exit command.Command ie displays a url within Internet Explorer. Option -e path starts Explorer and displays the specified directory. If no arguments are specified, Internet Explorer starts with its default home page.
Command win is an alias for execr.
Execs searches for filename in the Windows system directory.
Execw behaves as exec, but waits for the process to complete.
shell sh