check if network drive exist
- From: "Lee Kok Onn" <kolee@xxxxxxxxxxxxxxxx>
- Date: Thu, 11 Jan 2007 12:19:24 +0800
Hi
I have write the following script to remove a drive. I need to check if G
drive exist then it will run the following script so how can I achieve that.
Thanks.
Dim WshNetwork
set WshNetwork=CreateObject ("Wscript.Network")
WshNetwork.RemoveNetworkDrive "G:"
.
- Follow-Ups:
- Re: check if network drive exist
- From: Slim from ThatsIT
- Re: check if network drive exist
- Prev by Date: Re: Only copy files if updated
- Next by Date: Re: Vista UAC problem with WScript.Shell Run method
- Previous by thread: Only copy files if updated
- Next by thread: Re: check if network drive exist
- Index(es):