jorsak Posted November 3, 2004 Share Posted November 3, 2004 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 More sharing options...
oftentired Posted November 3, 2004 Share Posted November 3, 2004 %WINBOOTDIR% Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now