Build Your Own Arcade Controls Forum
Main => Everything Else => Topic started by: lordtodd75 on August 01, 2006, 04:13:16 pm
-
I cannot seem to change directory to a directory with a space in it. I know I have done this a million times and I am rather embarrassed :-[ I am running xp home.
eg. cd "C:\Program Files"
I tried it a bunch of other ways as well (no quotes, all one word), no go.
You wanna hear the best part. I am the head of the IT dept in a multi million dollar company. Hold on, let me get my flame retardant gear :laugh2:
-
in a blank c: prompt, put in this
cd\program files
Don't forget you good ol' dir/w command to list contents
-
Hey, since you are a big-wig can you get me a consulting fee? :laugh2: :laugh2: :laugh2:
-
Either take off the drive letter or use the /d switch for the cd command.
-
cd c:\program files
or
cd "c:\Program Files"
Both worked just fine for me, no quotes. You're not on the D: drive or anything, are you? I sat there for 15 minutes once wondering why my prompt didn't change and I didn't get an error. You can also always try tab-completion and see what that throws at you.
-
Since DOS used to only accept 8 characters and they never took that out in later versions, you can still access the files the 8 char way
c:\progra~1
-
Program files is always progra~1 that I know of. To get the 8.3 names for any file, do a dir /x.
-
Eureka! How could I have forgotten about the dos naming convention?? One too many smacks in the head I suppose. I will blame it on age I just recently hit 30 and I heard it is all downhill from here :cheers: Thanks fellas.