• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Command Prompt Question changing directory? Solved

Oakenfold

Diamond Member
I'm going to leave this post up in case someone does a search it may help them.
Please remember XP does have certain limitations on file extensions, I wasted quite a bit of time due to forgetting this.

Make sure to use cmd.exe not command.exe with long file names.




Okay here's the deal, running WinXP pro and it's been a while since I've goofed around in the command prompt besides running tracert etc.
Anyhow I want to access a directory on my D:\
D:\Program Files\Microsoft Games\Halo
To be exact.

I haven't been able to access the sub directory, pulled out old my Dummies for DOS book and still no luck.
Anyhow I am able to access a directory if I created say D:\NEW\STUFF
To get there of course i just type
cd new\stuff
What am I forgetting here, kinda embarrassed to ask but it's just been so long.
😱
 
You can do a "dir /x" to get short file names then cd to the short name...
C:\>dir /x p*
Volume in drive C has no label.
Volume Serial Number is 3DEA-AE61

Directory of C:\

04/09/2004 11:32 PM <DIR> PROGRA~1 Program Files
0 File(s) 0 bytes
1 Dir(s) 4,504,322,048 bytes free

C:\>cd progra~1

C:\PROGRA~1>
 
You know I don't know why I have trouble doing abbreviated file names, my fingers always want to type the entire stinking word.
🙂
Maybe I need to use that shortcut more, Thanks for the tip!
 
You've probably realized this but the problem was the space in the directory name. Putting "Program Files" in quotes like so will allow you to use the full name. Also, with cmd, you can just start to type the path and hit tab and it will complete the name for you, with quotes. I never type more that a character or two of any file name
 
Originally posted by: kamper
Also, with cmd, you can just start to type the path and hit tab and it will complete the name for you, with quotes. I never type more that a character or two of any file name

Now that is really cool!

😀 I owe you a :beer:
 
Back
Top