home *** CD-ROM | disk | FTP | other *** search
- DOCUMENT:Q104073 04-NOV-1993 [W_NT]
- TITLE :Using Quotes with Filenames Causes Strange Errors
- PRODUCT :Windows NT
- PROD/VER:3.10
- OPER/SYS:WINDOWS
- KEYWORDS:BUGLIST3.10
-
- ----------------------------------------------------------------------
- The information in this article applies to:
-
- - Microsoft Windows NT operating system version 3.1
- - Microsoft Windows NT Advanced Server version 3.1
- ----------------------------------------------------------------------
-
-
- SYMPTOMS
- ========
-
- When you put quotes around a filenames in Command Prompt, the command
- does not complete and error messages appear.
-
- Steps to Reproduce Problem
- --------------------------
-
- 1. Use any text editor, such as Notepad, to create a file called
- TEST.TXT in C:\, containing some text.
-
- 2. Start Command Prompt (CMD.EXE) from the Main group in Program
- Manager.
-
- 3. Change to the Root directory of drive C.
-
- 4. Run the following commands:
-
- del "c:\test.txt"
-
- ren "c:\test.txt" "c:\testx.txt"
-
- The following error messages appear:
-
- - Could Not Find c:\est.txt
- (Note the missing t.)
-
- - The syntax of the command is incorrect
-
- NOTE: These incorrect error messages appear in any file system: FAT,
- HPFS, or NTFS.
-
- RESOLUTION
- ==========
-
- Do not use quotes for the RENAME or DELETE commands, or do not use the
- full path when renaming or deleting files.
-
- STATUS
- ======
-
- Microsoft has confirmed this to be a problem in Windows NT version 3.1
- and Windows NT Advanced Server version 3.1. We are researching this
- problem and will post new information here in the Microsoft Knowledge
- Base as it becomes available.
-
- Additional reference words: 3.10 W_NTAS
- KBCategory:
- KBSubcategory: ntap
-
- =============================================================================
-
- 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.
-
- Copyright Microsoft Corporation 1993.