Consultor Eletrônico



Kbase 15745: OS-COMMAND NO-WAIT can work to run MS Windows applications
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   5/10/1998
OS-COMMAND NO-WAIT can work to run MS Windows applications

OS-COMMAND NO-WAIT "C:\MSOFFICE\msoffice.exe" will run msoffice
correctly. Putting the NO-WAIT at the end will not work.

So, for example, this will not work:

OS-COMMAND "C:\MSOFFICE\msoffice.exe" NO-WAIT.

This is true for all windows applications under windows 95. For Win
3.11, it will work if you have WxServ installed. With a clean Win
3.11 install, you cannot start Windows apps from a DOS prompt.

What OS-COMMAND does is the following:

1. Runs RUNDOSMW.EXE, which places a temporary file (to act as a
semaphore) in the %TEMP% directory.

2. Starts off a command prompt (COMMAND.COM)

3. Returns to Progress.

Progress Software Technical Support Note # 15745