Computer Hope
Microsoft => Microsoft Windows => Windows 3.x/9x/ME => Topic started by: Chuckster on February 01, 2011, 07:05:51 PM
-
...so i'm in DOS, trying to figure out what i can safely delete. the only ones i'm sure i can safely delete are in the "programs" subdirectory.
here's the problem: in DOS, filename is show as thus....
PROGRA~1 <DIR>
i'm in C prompt, and can't change to that directory because i don't know what the file name is.
I've tried...
cd PROGRAMS
cd PROGRAM FILES
cd PROGRAM
cd PROGRAM FILES
none of them work. can anybody shed any light on what it might actually be called, or is there a simpleton way for me to see the missing characters hidden by the tilde?
thanks for help....
-
figured it out!
i typed it EXACTLY as it was shown on screen, with the tilde and number 1
go figure!
-
Why would you not follow the guide i posted on Slave drive data retrieval before you risk losing everything ? ?
-
go figure!
No need to figure. THis is normal. Each file and folder has a "short name" and a "long name". Sometimes they are identical, sometimes not. If the long name has space or spaces or is more than 8 characters long, a short name is computed and stored by the system. To use a long name with spaces you have to use quote marks. As you have found, you can use cd with the short name
cd PROGRA~1
but you could also use
cd "Program Files"
The above applies only if you are in a DOS box under Windows 95 or 98. Under plain DOS you need to use the short name.