Jere's Techblog

Map Share to free Driveletter

With this code snippet a share can be mapped to the next free drive letter.

It is especially useful if you have to work with a driveletter in the code or if the share has to be mapped in the Scirpt and has to be removed at the end of the script.

Continue reading...