Armybrat,
The value $OSDrv will be a 2-character variable along the lines of C:, D: etc. The $OSDir variable would be the same as %windir%, but of course we are using the registry value that creates $OSDir to get to the drive letter to create $OSDrv.
Bill