>Here is a sample that deals with network resources...
>
>
>*/ Create network object
>
>WSHNetwork = CreateObject("WScript.Network")
>
>*/ Computer name
>?WSHNetwork.ComputerName
>
>*/ User Name
>?WSHNetwork.UserName
>
>*/ Domain Name
>?WSHNetwork.UserDomain
>
>*/ Enumerate through network drives
>
>NetWorkDrives = WSHNetwork.EnumNetworkDrives
>?networkdrives.count
>For x = 0 to NetWorkDrives.Count - 1 Step 2
> ?NetWorkDrives.Item(x),NetWorkDrives.Item(x+1)
>Next Drive
>
>*/ Map a network Drive
>
>WSHNetwork.MapNetworkDrive("K:", "\\idtmain2\share_f")
I've said it before, "YOU DA MAN!" Thanks again, I couldn't find a starting point, now I'm off and running, soon to liftoff!< G > If I use some of this in an application, what would need to be included?
John Harvey
Shelbynet.com
"I'm addicted to placebos. I could quit, but it wouldn't matter." Stephen Wright