How to use net use command
Net use is available within the command prompt in windows XP, Windows Vista, Windows 7, Windows 8, Windows 10, and Windows 11.
at the dos prompt type net use /?

Examples of Net Use
Temporary Map Drive

the example above will connect to the folder My Folder located on a computer named server. the * will assign the highest available drive letter to the computer. the parameter /persistent: no will prevent the mapping of this drive every time a connection is made. To assign a drive letter check out the next example.
Permanent Map Drive