%windir% versus %systemroot%
Does anyone know the difference between %windir% and %systemroot%? For those not knowing what it’s all about please don’t post any replies. .
Does anyone know the difference between %windir% and %systemroot%?
For those not knowing what it’s all about please don’t post any replies.
For those not knowing what it’s all about please don’t post any replies.
Participate on our website and join the conversation
This topic is archived. New comments cannot be posted and votes cannot be cast.
Responses to this topic
From the "windows script host reference" on MSDN...
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)
- SYSTEMROOT System directory (for example, c:\winnt). This is the same as WINDIR.
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)