S
slingeruk
Dear all
I'm having a bit of a problem with a login script and was hoping somebody
might be able to help. I need to come up with a login script that will map
lower than the initial share of the folder structure (ie
\\server\share\folder). This works fine with W2k, but needs a subst command
for NT 4.0 machines. To get around this I have found a registry key
(HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Current Version) which
displays the version number of the OS (4.00 for NT, and 5.00 for W2k). What
I need to do now is somehow take this key, and use it as a variable in a
login script (batch file rather than VB script). Does anyone know of using
this key in the script? (An example would be great).
Thanks in advance
Steve
I'm having a bit of a problem with a login script and was hoping somebody
might be able to help. I need to come up with a login script that will map
lower than the initial share of the folder structure (ie
\\server\share\folder). This works fine with W2k, but needs a subst command
for NT 4.0 machines. To get around this I have found a registry key
(HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Current Version) which
displays the version number of the OS (4.00 for NT, and 5.00 for W2k). What
I need to do now is somehow take this key, and use it as a variable in a
login script (batch file rather than VB script). Does anyone know of using
this key in the script? (An example would be great).
Thanks in advance
Steve