twedlake
03-07-2001, 04:28 AM
I have created a script that maps network drives using the mapnetworkdrive method at logon. It works great with one exception. If the drive is already connected it presents an error saying it's already connected. How can I tell WSH something like "if exist don't map" or "if exist then delete drivemapping" to keep from seeing the error message. Also I wanted a dialog box to popup on logon saying a certain message. I got that to work using the WshShell.Popup method. Only thing is, I don't want any buttons on the dialog. I can't seem to get rid of the ok button. The diloag goes away on it's own after about 5 secs but it's annoying! :)
Any help would be appreciated.
Thanks
Todd
Any help would be appreciated.
Thanks
Todd