net use映射网盘和本地磁盘 How to Map Network Drives From the Command Prompt in Windows

How to Map Network Drives From the Command Prompt in Windows

查看所有net use

 

查看信息net use r:

Local name        R:
Remote name       \\tower\movies
Resource type     Disk
Status            OK
# Opens           2
# Connections     1
The command completed successfully.

 

net use s: \\tower\movies /user:HTG CrazyFourHorseMen /persistent:Yes

 

 

net use s: /delete

删除

net use * /delete
作者:Chuck Lu    GitHub    
posted @   ChuckLu  阅读(209)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 全程不用写代码,我用AI程序员写了一个飞机大战
· DeepSeek 开源周回顾「GitHub 热点速览」
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 记一次.NET内存居高不下排查解决与启示
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
历史上的今天:
2021-07-13 What is difference between “git checkout -f” and “git reset --hard HEAD”?
2021-07-13 What are the differences between .gitignore and .gitkeep?
2020-07-13 Comparison Review: Microsoft SSDT vs Redgate SQL Source Control
2020-07-13 Azure DevOps Azure Repos Git How-to Guides Use SSH key authentication
2019-07-13 de4dot 反混淆
2019-07-13 GreyMagic
2019-07-13 HearthBuddy 第一次调试
点击右上角即可分享
微信分享提示