Thursday, August 20, 2009

Create/Delete Mapped Harddrive in Windows via command line

To Create:
net set [drive]: \\[Host]\Path
Sometimes adding the option /persistent:no is useful. This causes the mount to go away after a reboot.

To Delete:
net set [drive]: /delete

No comments:

Post a Comment