Computing.Net > Forums > Windows 2000 > Access program files in DOS Win2000

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Access program files in DOS Win2000

Reply to Message Icon

Name: Johnny
Date: October 22, 2002 at 12:05:15 Pacific
OS: windows 2000
CPU/Ram: pentium 2 / 512
Comment:

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 work

Anyone? Thank you



Sponsored Link
Ads by Google

Response Number 1
Name: Braz
Date: October 22, 2002 at 12:15:18 Pacific
Reply:

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...


0

Response Number 2
Name: Johnny
Date: October 22, 2002 at 12:35:05 Pacific
Reply:

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


0

Response Number 3
Name: Rick
Date: October 22, 2002 at 12:38:56 Pacific
Reply:

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.


0

Response Number 4
Name: Johnny
Date: October 22, 2002 at 12:58:44 Pacific
Reply:

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?



0

Response Number 5
Name: john
Date: October 22, 2002 at 16:24:19 Pacific
Reply:

BOot from your W98 floppy, and type the following:

C:
dir /p

This 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.


0

Related Posts

See More



Response Number 6
Name: dos
Date: October 22, 2002 at 22:29:00 Pacific
Reply:

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


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

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


Go to Windows 2000 Forum Home


Sponsored links

Ads by Google


Results for: Access program files in DOS Win2000

Viewing NTFS files in DOS www.computing.net/answers/windows-2000/viewing-ntfs-files-in-dos/20457.html

Help renaming a file in DOS www.computing.net/answers/windows-2000/help-renaming-a-file-in-dos/62171.html

No Temp Internet Files in dos? www.computing.net/answers/windows-2000/no-temp-internet-files-in-dos/20691.html