
Substituting Drive Letters
Quote:
> How can I use a command like subst y: k:\%username%
> in Windows Script Host?
See the WSH documentation for MapNetworkDrive method.
From the help:
The following example shows how to map the "Z" drive to a network share:
Set WshNetwork = WScript.CreateObject("WScript.Network")
WshNetwork.MapNetworkDrive "Z:", "\\Server\Share"
Tom Lavedas
-----------
http://www.*-*-*.com/ ~tglbatch/