MSFN Forum: System root drive - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

System root drive Rate Topic: -----

#1 User is offline   jorsak 

  • Newbie
  • Group: Members
  • Posts: 37
  • Joined: 20-October 04

Posted 03 November 2004 - 08:59 AM

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?


#2 User is offline   oftentired 

  • Member
  • PipPip
  • Group: Members
  • Posts: 145
  • Joined: 25-August 04

Posted 03 November 2004 - 12:07 PM

%WINBOOTDIR%

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy