How to Mount CIFS Shares from Windows Command Line

Connect Network Drive
To map a network drive from windows command line:

Click Start, and then click Run -> CMD

Type the following, replacing Z: with drive letter you want to assign to the shared resource:
net use Z: \\computer_name\share_name /PERSISTENT:YES

Disconnect Network Drive
To disconnect a mapped drive:

Type the following, replacing Z: with drive letter of the shared resource:

net use  Z: /delete

Komentar

Postingan populer dari blog ini

Cara memahami dan menghafal model OSI dengan analogi

Pembahasan IT Network Systems Administration Module A DNS (Forward Zone, Reverse Zone, CNAME, MX, Split View)

Table of Contents