Jump to content

How to find system root drive in Win 9X


jorsak

Recommended Posts

I've created a batch file that allows me to do a silent install of a number of diagnostics utilities in win 2K and Win xp.

I'm trying to re-write it for win 9x.

The problem I'm having is that I don't know the root drive on all these machines. They could change.

In win 2K/XP I use the command %systemdrive% to determine this.

That doesn't work in win 9x and I've seen the command %windir% (if memory serves) but I've had no luck with it either.

Can someone tell me how to determine the main system drive in Win9x?

Link to comment
Share on other sites


  • 3 months later...

EXCELLENT! I can't wait to try this. Ihad just resorted to using the drive letter C and knowing that if the system drive was anything other than C, I couldn't use my little app. Most systems have a C as their root, but who wants to count on that.

Thanks so much.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...