![]() |
DOS Files - Invalid Filenames |
The information in this document applies to:
WordPerfect® 5.1 for DOS
Problem
Solutions: DOS has several reserved names for devices such as a printer. Since DOS is already using the following names, you cannot create files with the same names: AUX CLOCK$ COM1 COM2 NUL CON LPT1 LPT2 LPT3 PRN Attempting to save a file from any program with a name which is one of these reserved words gives an "Incompatible File Format" error message. This includes using these as a filename with an extension: A file named CON and a file named CON.TXT would both cause the above error message. Similarly, attempting to retrieve a file named with one of these reserved words will give strange results. For example trying to retrieve a file called C:\CON into Editor causes the at (@) sign to display after pressing F7. The results will vary depending on which reserved command is used. It is important to remember that directory names must conform to DOS filename standards. The above names, which are illegal for filenames, are also illegal for directory names. One further restriction in creating a directory is to not create a directory called \DEV. DOS uses a hidden internal directory called DEV to perform input/output to devices. For example, to copy the file NEWS.DAT to the printer, you can issue the command COPY NEWS.DAT \DEV\PRN |
Answer:
Details:
Product specifications, packaging, technical support and information (*Specifications*) refer to theUnited States retail English version only. Specifications for other versions may vary. All Specifications, claims, features, representations, and/or comparisons provided are correct to the best of our knowledge of the date of publication, but are subject to change without notice.OUR MAXIMUM AGGREGATE LIABILITY TO YOU AND THAT OF OUR DEALERS AND SUPPLIERS IS LIMITED. IT SHALL NOTEXCEED THE AMOUNT YOU PAID TO ACCESS THE INFORMATION. SEE LEGAL DISCLAIMER. |