Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I am trying to access C:\program files in DOS mode (Win2000). I tried a win98SE boot disk. I go as far as to change from A:\> to C:\> then when I type it says, "bad command or file name"
How should I type for it to work? I tried C:\progra~1\ It didn't workAnyone? Thank you

I'm assuming your hard drive is formatted as FAT32, right? Otherwise, your Win98 boot disk will do you no good.
Have you tried doing a 'dir /p' to see what DOS sees the directory as in 8.3? Off the top of my head, I'd try that first.
Then, I'd try placing the directory name in double-quotes:
cd "C:\Program Files"
This *should* work in 98 and 98SE (though I have neither handy to test this with...)
Good luck...

I tried the 'dir /p' it listed the directories then I typed: cd "C:\Program Files" it said, "invalid directory" Am I doing it wrong?
Thanks

Try typing just C: then hit enter, you don't need the \> that is what is displayed by the OS if it's set up that way.
If you still can't get there, then the C drive is most likly formatted in NTFS, which DOS/Win9X will not access.

I have FAT32
Under the list of directories says,
0 file(s)
4 dir(s)
The list shows the "progra~1" which is the one I'm looking for, but I type it and says invalid?

BOot from your W98 floppy, and type the following:
C:
dir /pThis should list a directory and pause at the end of each screen. When you see the directory that is PROGRA!?, where ? is a number, that's most likely the Program Files directory. W98 boot floppies do not handle long file names, so you won't be able to manipulate long file names.
When you change to the C: directory, don't type a /, just the C:. You can then type a CD /PROGRA!1 (or 2, 3, whatever) and log into the Program Files directory.

Yes, at the prompt just type
C:\CD program files
type CD (change directory) evry time you want to get into another folder

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |