-
I have written a WSH script that maps and unmaps network drives and I would like to use VB to run these scripts. Please provide suggestions on how to run it. Thanks.
Code:
Filenames
netconnect.vbs
netdisconnect.vbs
[Edited by kbea1965 on 11-22-2000 at 11:06 AM]
-
The code
I'm using the following code to import the Wscript file.
Code:
Dim fsoMap As FileSystemObject
Dim filMapDrive As String
Set fsoMap = CreateObject("scripting.filesystemobject")
filMapDrive = fsoMap.GetFile("c:\netconnect.vbs")
I'm stuck! HELP!
[Edited by kbea1965 on 11-22-2000 at 11:07 AM]