Microsoft KB Archive/69478

Err Msg: “Cannot Find Specified File” with SHELL

PSS ID Number: Q69478 Article last modified on 03-07-1997

=
========================================================= 1.10 1.10a 1.10b OS/2 W_WINWORD

= SUMMARY =

When using the SHELL command to execute a batch file in Word for OS/2, a command processor must be started to perform the instructions in the batch file.

If your macro code contains the following

SHELL “c:.cmd”

it should be changed to the following:

SHELL “c:.exe/c c:.cmd”

This SHELL command loads a new command processor and performs the instructions listed in TEST.CMD. Upon completion of the batch file, the command processor will terminate itself and return to Word for OS/2. ====================================================================== ============================================================================= Copyright Microsoft Corporation 1997.