Compatible Support Forums: %windir% versus %systemroot%

Jump to content

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

%windir% versus %systemroot%

#1 User is offline   Mangan 

  • stranger
  • Group: Members
  • Posts: 13
  • Joined: 27-March 00

Posted 06 April 2000 - 02:07 AM


0

#2 User is offline   Radu175 

  • journeyman
  • Group: Members
  • Posts: 10
  • Joined: 01-April 00

Posted 07 April 2000 - 08:24 AM

%windir% is the Windows directory (I.E: C:\windows) and %systemroot% is the HD root dir (c:\)
0

#3 User is offline   Mangan 

  • stranger
  • Group: Members
  • Posts: 13
  • Joined: 27-March 00

Posted 07 April 2000 - 03:13 PM


0

#4 User is offline   YuppieScum 

  • addict
  • Group: Members
  • Posts: 617
  • Joined: 16-July 99

Posted 07 April 2000 - 11:18 PM

From the "windows script host reference" on MSDN...

[list][*]SYSTEMROOT System directory (for example, c:\winnt). This is the same as WINDIR.
[*]WINDIR System directory (for example, c:\winnt). This is the same as SYSTEMROOT. [/list:u]

However, WINDIR is available as a system and process variable under W2K and as a process variable under Win9x, but SYSTEMROOT is a W2K process variable only.



------------------
SuperMicro P6DBS (dual UW-SCSI) BIOS 2.2, 2*Celery 300a @ 450Mhz, 384MB PC100 RAM
SCSI-A=4.3Gb+9Gb, SCSI-B=Tosh32x CD-ROM, Yamaha4416 CD-RW, Iomega ZIP100, IDE1=4.3Gb
IBM EtherJet 10/100 NIC PCI + Nortel ADSL "modem"
Matrox G400 DH 32Mb AGP + Quantum3D Voodoo2 SLI PCI (CL TNT1 AGP on a shelf)
SoundBlaster Live PCI (not Value)
Win2K build 2195 Retail (not 120-day eval)
0

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