| Parameter | Description | | :--- | :--- | | devicename | The local drive letter to assign (e.g., Z: ). Use * for automatic assignment. | | \\computername\sharename | The network path to the shared folder. | | password | The password for the remote user account. Use * to be prompted. | | /user | Specifies a different username to authenticate with. | | /persistent | Determines if the mapping survives a reboot. |
Makes the mapping temporary; it will disappear after a reboot. net use Z: \\Server\Share /persistent:no cmd command to map network drive