home *** CD-ROM | disk | FTP | other *** search
/ Borland Programmer's Resource / Borland_Programmers_Resource_CD_1995.iso / info / ntkb / ntkb.exe / Q104 / 0 / 73.TXT < prev    next >
Encoding:
Text File  |  1993-11-16  |  2.5 KB  |  81 lines

  1. DOCUMENT:Q104073  04-NOV-1993  [W_NT]
  2. TITLE   :Using Quotes with Filenames Causes Strange Errors
  3. PRODUCT :Windows NT
  4. PROD/VER:3.10
  5. OPER/SYS:WINDOWS
  6. KEYWORDS:BUGLIST3.10
  7.  
  8. ----------------------------------------------------------------------
  9. The information in this article applies to:
  10.  
  11.  - Microsoft Windows NT operating system version 3.1
  12.  - Microsoft Windows NT Advanced Server version 3.1
  13. ----------------------------------------------------------------------
  14.  
  15.  
  16. SYMPTOMS
  17. ========
  18.  
  19. When you put quotes around a filenames in Command Prompt, the command
  20. does not complete and error messages appear.
  21.  
  22. Steps to Reproduce Problem
  23. --------------------------
  24.  
  25. 1. Use any text editor, such as Notepad, to create a file called
  26.    TEST.TXT in C:\, containing some text.
  27.  
  28. 2. Start Command Prompt (CMD.EXE) from the Main group in Program
  29.    Manager.
  30.  
  31. 3. Change to the Root directory of drive C.
  32.  
  33. 4. Run the following commands:
  34.  
  35.    del "c:\test.txt"
  36.  
  37.    ren "c:\test.txt" "c:\testx.txt"
  38.  
  39. The following error messages appear:
  40.  
  41.  - Could Not Find c:\est.txt
  42.    (Note the missing t.)
  43.  
  44.  - The syntax of the command is incorrect
  45.  
  46. NOTE: These incorrect error messages appear in any file system: FAT,
  47. HPFS, or NTFS.
  48.  
  49. RESOLUTION
  50. ==========
  51.  
  52. Do not use quotes for the RENAME or DELETE commands, or do not use the
  53. full path when renaming or deleting files.
  54.  
  55. STATUS
  56. ======
  57.  
  58. Microsoft has confirmed this to be a problem in Windows NT version 3.1
  59. and Windows NT Advanced Server version 3.1. We are researching this
  60. problem and will post new information here in the Microsoft Knowledge
  61. Base as it becomes available.
  62.  
  63. Additional reference words: 3.10 W_NTAS
  64. KBCategory:
  65. KBSubcategory: ntap
  66.  
  67. =============================================================================
  68.  
  69. THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS
  70. PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND.  MICROSOFT DISCLAIMS
  71. ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES
  72. OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  IN NO
  73. EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR
  74. ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL,
  75. CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF
  76. MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE
  77. POSSIBILITY OF SUCH DAMAGES.  SOME STATES DO NOT ALLOW THE EXCLUSION
  78. OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES
  79. SO THE FOREGOING LIMITATION MAY NOT APPLY.
  80.  
  81. Copyright Microsoft Corporation 1993.