Cannot Use MS-DOS Reserved Filenames As Document NameLast reviewed: February 6, 1998Article ID: Q94085 |
The information in this article applies to:
SUMMARYYou cannot use reserved MS-DOS filenames as Word for Windows document filenames. If you attempt to give a Word document file an MS-DOS reserved filename, the following message appears:
Word for Windows, version 2.0
Do you want to replace existing <filename>?If you choose the Yes button, the following error message occurs:
You cannot save while the file is in use by another process. Try saving with a new name. Word for Windows, versions 1.x
Do you want to replace existing <filename.doc>?If you choose the Yes button, the following error message occurs:
Cannot Save. <filename.doc> is locked. MORE INFORMATIONThe following MS-DOS reserved filenames cause the above error messages in Word for Windows:
CLOCK$ CON AUX COMn (where n = 1-4) NULWord for Windows allows you to save a document using the following MS-DOS reserved filenames:
LPTn (where n = 1-3) PRNIf you use these filenames, however, Word saves the file as a copy, and "(Copy)" appears in the Word title bar. If you close the file and then try to reopen it, the filename appears on file menu in the MRU (most recently used) list, but it does not appear in the File Name list in the Open dialog box. If you choose the filename from the File menu, the following error message occurs:
Word cannot find <path and filename>If you save a document using LPTn or PRN as filenames and then close the file, you cannot reopen it.
WorkaroundGive the file a name that is not reserved by MS-DOS.
REFERENCES"Microsoft Word for Windows User's Guide," version 2.0, page 77 "Microsoft MS-DOS User's Guide and Reference," version 5.0, pages 69- 70
|
KBCategory:
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |