Cmd Map Network Drive Better -

If you are building a .bat or .cmd file to set up a workstation, follow this "best practice" sequence:

By default, some CMD-mapped drives disappear after a reboot. Use the persistent switch to ensure it returns. net use Z: \\Server\Share /persistent:yes cmd map network drive better