CommandWindows() |
(Windows only.) Executes a Windows command. The difference with CommandSystemForeground() is that CommandWindows() does not use a DOS box, and the command is executed in the background, causing the application to continue immediately. Because a DOS box is not used, you cannot use CommandWindows() to execute DOS commands (for example, MKDIR, DEL, DIR, etc.). Use CommandSystemForeground() to execute these commands. Syntax CommandWindows(<command>[,<parameter string>]) Parameters command The command line that is sent to the operating system. This can be anything that you can execute by means of Windows' Run option. Example CommandWindows('winword.exe','test.doc') |