You are currently offline, waiting for your internet to reconnect

Startup Directory Option Ignored in MS-DOS Shell

This article was previously published under Q78670
This article has been archived. It is offered "as is" and will no longer be updated.
In MS-DOS 5.0 and Shell, it is possible for the startup directory option tobe ignored when a program item is started from the Active Task List.
The startup directory option will be ignored in the following twosituations:

  • The program item being started from the Active Task List was originally placed there as a result of a LOAD=ENABLED entry in the DOSSHELL.INI file.
  • The program item being started from the Active Task List was added to the Active Task List by holding down the SHIFT key, and double-clicking on the program item (or pressing SHIFT+ENTER).
In the above cases, the effective startup directory will be the activedirectory at the time Shell was started.
To work around this limitation, write a batch file for the applicationthat first changes to the desired startup directory before starting.Then create a program item for the batch file, not the executable.(Note: In this case, the startup directory option is now unnecessary.)


To make a batch file to run Microsoft Word for MS-DOS, do thefollowing:

  1. Include the following lines in a batch file called WORD5.BAT:
          cd \word5      word
  2. Make a program item for WORD5.BAT using the procedure described on pages 186-188 of the version 5.0 "Microsoft MS-DOS User's Guide and Reference."
5.00 5.00a 6.00

Article ID: 78670 - Last Review: 10/07/2013 00:59:59 - Revision: 3.0

Microsoft MS-DOS 5.0 Standard Edition, Microsoft MS-DOS 5.0a, Microsoft MS-DOS 6.0 Standard Edition

  • kbnosurvey kbarchive KB78670