home *** CD-ROM | disk | FTP | other *** search
/ Borland Programmer's Resource / Borland_Programmers_Resource_CD_1995.iso / info / ntkb / ntkb.exe / Q103 / 3 / 68.TXT < prev    next >
Encoding:
Text File  |  1993-09-16  |  3.2 KB  |  101 lines

  1. DOCUMENT:Q103368  15-SEP-1993  [W_NT]
  2. TITLE   :From Command Prompt: "The Name Specified Is Not Recognized..."
  3. PRODUCT :Windows NT
  4. PROD/VER:3.10
  5. OPER/SYS:WINDOWS
  6. KEYWORDS:
  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. SYMPTOMS
  16. ========
  17.  
  18. From the Windows NT Command Prompt, when you try to run a file or
  19. change to a directory whose name contains one of these characters
  20.  
  21.    &  (  )  ^  ;  |  ,  or <space>
  22.  
  23. you then receive one of the following error messages:
  24.  
  25.    The name specified is not recognized as an internal or external
  26.    command, operable program or batch file.
  27.  
  28. -or-
  29.  
  30.    The system cannot find the path specified.
  31.    The name specified is not recognized as an internal or external
  32.    command, operable program or batch file.
  33.  
  34. CAUSE
  35. =====
  36.  
  37. Although File Manager and some other applications allow the use of the
  38. characters shown above, if you use any of these characters in a
  39. filename or directory name and then try to run the file or change to
  40. the directory from the Command Prompt, you will receive one of the
  41. error messages shown above.
  42.  
  43. WORKAROUNDS
  44. ===========
  45.  
  46.  - In the Command Prompt, put quotation marks around the entire
  47.    filename.
  48.  
  49.    -or-
  50.  
  51.  - Put a "^" (without the quotation marks) before the extended
  52.    character in the filename or directory name. The ; and ,
  53.    characters will not work in a filename or directory name.
  54.  
  55. MORE INFORMATION
  56. ================
  57.  
  58. The Windows NT Command Prompt uses these characters for special
  59. functions. Refer to the Windows NT online Help file in the "What's New
  60. or Different from MS-DOS" section for information on the functions of
  61. these characters.
  62.  
  63. Steps to Reproduce Problem
  64. --------------------------
  65.  
  66. 1. Using File Manager, in the Windows NT program directory, copy
  67.    NOTEPAD.EXE and rename it to NOTE&PAD.EXE.
  68.  
  69. 2. From the Main group, start the Command Prompt.
  70.  
  71. 3. Change to the Windows NT program directory, type the following
  72.    command, and press ENTER:
  73.  
  74.       note&pad
  75.  
  76.    One of the above error messages will appear.
  77.  
  78. Type the following command (with the quotation marks) to successfully
  79. run Notepad:
  80.  
  81.    "note&pad"
  82.  
  83. Additional reference words: 3.10 W_NTAS
  84. KBCategory:
  85. KBSubcategory: filsys
  86.  
  87. =============================================================================
  88.  
  89. THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS
  90. PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND.  MICROSOFT DISCLAIMS
  91. ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES
  92. OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  IN NO
  93. EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR
  94. ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL,
  95. CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF
  96. MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE
  97. POSSIBILITY OF SUCH DAMAGES.  SOME STATES DO NOT ALLOW THE EXCLUSION
  98. OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES
  99. SO THE FOREGOING LIMITATION MAY NOT APPLY.
  100.  
  101. Copyright Microsoft Corporation 1993.