spaces in a directory name in DOS? [directory name] [loos]

Q: hay everyone . is there a way to change a folder in DOS that a space in the name of the folder. I know it will work with the 32 bit command prompt on NT or 2k, but what if youre right in dos? cd command does allow me a space to use the name of the directory to identify. any thoughts on this would be appreciated . thanks



Best Answer: Try wrapping it in quotes.

Baby Names Dictionary
Re:to be quite honest we were trying it through winNT but we were curious about regular DOS. we dont have a PC that has just dos, or can just get into DOS easily so we're lost at this point with all of youre usggestion. i was merely curious to see if there was a known way of doing for future reference! :) thanx again for all of your replies. i know where i can go for accurate info!

thanx for all of the replies. :)
guy


Business Directory
Re:When you do a dir do you see the space?

If so, does it look like &quot;director y&quot; or &quot;dir ecto&quot;? If the first, its actually a directory with an extsion, to access it type &quot;cd director.y&quot; The second means a trick was used to get a space in there. One method was to use a null character that looks like a space, to get past that type &quot;cd dir&quot;<alt-0>&quot;ecto&quot; note: you have to hold alt and press 0 on the numeric keypad.

If those don't work, and you do see the space using dir, I have some more tricks that I know.

You might want to give a directory listing so we can tell the directory you're trying access. type the command &quot;dir > it.txt&quot; and paste the contents of it.txt to here.


The Webs Directory To Boating Resources.
Re:That's odd….I have no problems using quotes (double quotes) trying to access long name directories. Which DOS are you using?

Article Directory 4 Profits
Re:in Dos it just removes all spaces in the , so you better do dir and change to the directory like it says there …. for example I made directory &quot;a b c&quot; and in Dos it was like that : &quot;abc~1&quot;

eNom Expired Domain Name Software
Re:quotes didnt work…thanks anyway :)

any other suggestion?
thanx for the replies..

guy


Gazetteer Of British Place Names.
Re:Give a shot at using &quot; &quot; around the .

~guy


Submit website to 100 directories.
Re:DOS 6.22 won't let you do it.

DOS 7.x and above, use quotes….eg CD\&quot;Program Files&quot;.


Related posts

Leave a comment

0 Comments.

Leave a Reply


click to changeSecurity Code

[ Ctrl + Enter ]