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


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 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 could post it.


Anonymous said...


I have a message for the webmaster/admin here at

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


Murugappan Chokkalingam said...

Yes, you can