Thursday, September 27, 2007

VBScript to Unmap a Network Drive

'Script start

Set objNetwork = WScript.CreateObject("Wscript.Network")
objNetwork.RemoveNetworkDrive "G:"

'Script end



How to execute a VBScript

5 comments:

Anonymous said...

Thank you, that was extremely valuable and interesting...I will be back again to read more on this topic.

Anonymous said...

Awesome blog, I had not noticed orangescripts.blogspot.com earlier in my searches!
Continue the good work!

Anonymous said...

Thanks for sharing this link, but unfortunately it seems to be down... Does anybody have a mirror or another source? Please reply to my post if you do!

I would appreciate if a staff member here at orangescripts.blogspot.com could post it.

Thanks,
Peter

Anonymous said...

Greetings,

I have a message for the webmaster/admin here at orangescripts.blogspot.com.

Can I use part of the information from your blog post right above if I give a link back to your site?

Thanks,
Oliver

Murugappan Chokkalingam said...

Yes, you can