PC Review


Reply
Thread Tools Rate Thread

Command prompt does not accept special characters in folder name

 
 
=?Utf-8?B?aG1t?=
Guest
Posts: n/a
 
      3rd Jul 2007
I tried using the command prompt to copy a file, unsuccessfully. I then
tried using the CD command, starting the from C:\> prompt, to make each
successive sub-folder of the path the default directory. I succeeded until I
got to a sub-folder with an ampersand (&) in its name. Here is the
command-prompt input and the response:

C:\Documents and Settings\hm\My Documents>cd clippings & drafts

The system cannot find the path specified.
'drafts' is not recognized as an internal or external command,
operable program or batch file.

How do I get Command Prompt to recognize this folder name?


 
Reply With Quote
 
 
 
 
Joe Grover
Guest
Posts: n/a
 
      3rd Jul 2007
Try putting the folder name in quotes. Also, pull up a dir and make sure it
didn't make seperate folders for each word (if you used the command prompt
to make the dirs).

Joe

"hmm" <(E-Mail Removed)> wrote in message
news:22E332F9-1DA9-428D-A9D5-(E-Mail Removed)...
>I tried using the command prompt to copy a file, unsuccessfully. I then
> tried using the CD command, starting the from C:\> prompt, to make each
> successive sub-folder of the path the default directory. I succeeded
> until I
> got to a sub-folder with an ampersand (&) in its name. Here is the
> command-prompt input and the response:
>
> C:\Documents and Settings\hm\My Documents>cd clippings & drafts
>
> The system cannot find the path specified.
> 'drafts' is not recognized as an internal or external command,
> operable program or batch file.
>
> How do I get Command Prompt to recognize this folder name?
>
>


 
Reply With Quote
 
JS
Guest
Posts: n/a
 
      3rd Jul 2007
You need quotes because of the white space on each side of the &.
Example: cd "clippings & drafts"

JS

"hmm" <(E-Mail Removed)> wrote in message
news:22E332F9-1DA9-428D-A9D5-(E-Mail Removed)...
>I tried using the command prompt to copy a file, unsuccessfully. I then
> tried using the CD command, starting the from C:\> prompt, to make each
> successive sub-folder of the path the default directory. I succeeded
> until I
> got to a sub-folder with an ampersand (&) in its name. Here is the
> command-prompt input and the response:
>
> C:\Documents and Settings\hm\My Documents>cd clippings & drafts
>
> The system cannot find the path specified.
> 'drafts' is not recognized as an internal or external command,
> operable program or batch file.
>
> How do I get Command Prompt to recognize this folder name?
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Special Characters for Command Button Caption =?Utf-8?B?S2VpdGg=?= Microsoft Access Forms 2 18th May 2007 04:03 PM
Special characters INSERT INTO command =?Utf-8?B?Sm9jaGVtIERhdmlkcw==?= Microsoft Access Form Coding 2 15th Jun 2006 12:46 PM
Command Prompt won't accept command =?Utf-8?B?TWFyZ2U=?= Windows XP General 8 19th Nov 2005 11:31 PM
can textbox accept special characters like "( ,)'-" along alpha =?Utf-8?B?U3RhbiBILg==?= Microsoft Access VBA Modules 6 10th Nov 2004 07:16 PM
Command prompt won't accept commands crash_sc Windows XP Help 0 6th Oct 2004 12:51 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:58 PM.