net use
Mapping a network drive allows you to assign a local drive letter (like R:
) to a shared folder on another computer or server on your network. This enables easy access to shared resources such as project files, analysis reports, or configuration data.
net use R: \\e98euc\bts_analysis
net use
— The Windows command to connect, remove, or list shared drives or printers.R:
— The local drive letter you want to assign to the shared resource.\\e98euc\bts_analysis
— The UNC (Universal Naming Convention) path of the shared folder.When you run the command:
net use R: \\e98euc\bts_analysis
This happens:
e98euc
over the SMB protocol (usually port 445).bts_analysis
is shared and accessible.R:
on your machine.R:\
in CMD/PowerShell.If the share requires credentials, you can specify them:
net use R: \\e98euc\bts_analysis /user:DOMAIN\username yourpassword
To automatically reconnect this drive after restart:
net use R: \\e98euc\bts_analysis /persistent:yes
To remove it:
net use R: /delete
For questions or automation ideas, feel free to reach out.