Microsoft KB Archive/73727

= Opening Editor with the File Last Edited in MS-DOS Shell =

Article ID: 73727

Article Last Modified on 5/12/2003

-

APPLIES TO


 * Microsoft MS-DOS 5.0 Standard Edition
 * Microsoft MS-DOS 5.0a
 * Microsoft MS-DOS 6.0 Standard Edition
 * Microsoft MS-DOS 6.2 Standard Edition
 * Microsoft MS-DOS 6.21 Standard Edition
 * Microsoft MS-DOS 6.22 Standard Edition

-



This article was previously published under Q73727



SUMMARY
Within MS-DOS Shell, you can start MS-DOS Editor with the file last edited as the default file to edit.



MORE INFORMATION
By default, when you open Editor from Shell, a File to Edit window (also called the %1 prompt dialog) appears and prompts you to enter the name of the file to edit. You must then type the name of the file and choose OK to edit an existing file, or you can choose OK to create a new file.

When opening a file that is also the most recently edited file, you can open Editor with that file loaded by doing the following:


 * 1) From Shell, select Editor (do not open Editor).
 * 2) From the main Shell menu, choose File Properties.
 * 3) In the Default Parameters field of the Program Items Properties window, enter %1.
 * 4) Choose OK to access the second Program Items Properties window and the %1 dialog.
 * 5) To open the currently selected file on the files list, enter %F in the Default Parameters field of this window.

If you want the Editor to open the last edited file, enter %L.
 * 1) Choose OK to save your changes and exit to the previous window.
 * 2) Choose OK again to open the file that you selected in step 5.

Additional query words: 5.00 5.00a 6.00 6.20 6.21 6.22

Keywords: KB73727

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.