Microsoft KB Archive/45860

Word: DOS SET Commands Not Recognized with DOS Shell

PSS ID Number: Q45860 Article last modified on 11-02-1994

4.00 5.00 5.50 6.00

MS-DOS |

= SUMMARY =

An environment variable that is set in the AUTOEXEC.BAT file must be executed before the DOS 4.00 shell is loaded. For example, in the following AUTOEXEC.BAT file, the DOS SET command doesn’t get executed:

PROMPT $p$ g PATH=C:;C: REM the next line executes the DOS 4.00 shell DOSSHELL SET MSWNET=C: SET TMP=C:

Thus, the environment variables have no effect on programs executed from the shell.

To correct this situation, execute the DOS SET command before the shell is installed.

The network environment variable for Word version 5.50 differs slightly from Word version 5.00, as in the following line:

set MSWNET55=user’s directory

Example
set MSWNET55=c:

KBCategory: kbother kbnetwork KBSubcategory: Additional reference words: ============================================================================= Copyright Microsoft Corporation 1994.