Microsoft KB Archive/102231
Can't Remove Files with Reserved Names in Windows NT
Article ID: Q102231
The policy for creating files in Windows NT or Windows NT Advanced Server is controlled by the individual application. Therefore, it is possible for an application to create a file with an illegal or reserved name, such as LPT1 or PRN. There is no user interface functionality for removing this kind of file.
DEL PR?.* -or- DEL LPT?.*
These commands will not work on an NTFS partition. Since NTFS supports the POSIX subsystem, and filenames such as PRN are legal under the POSIX subsystem, these files must be allowed by the operating system. However, the operating system assumes that the application that created them can also delete them. These files would be easy to delete (unlink) from a simple, native POSIX application.
Additional query words: prodnt
Keywords : kbother ntfilesys NTSrvWkst
Version : 3.1 3.5 3.51 4.0
Platform : WinNT
THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.
©1997 Microsoft Corporation. All rights reserved. Legal Notices.