'Script start
Set WshNetwork = WScript.CreateObject("WScript.Network")
WshNetwork.MapNetworkDrive "S:", file://server/share
'Script end
Edit //server/share according to you needs. Current user should have permission to the mentioned folder
How to execute a VBScript
No comments:
Post a Comment