runliuv

runliuv@cnblogs

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

 

net share dpantemp2 /DELETE
net share dpantemp2=d:\temp2 /GRANT:jk,FULL /REMARK:" web api 共享"

 

jk 是windows用户名

 

 

此命令的语法是:

 

NET SHARE

sharename

          sharename=drive:path [/GRANT:user,[READ | CHANGE | FULL]]

                               [/USERS:number | /UNLIMITED]

                               [/REMARK:"text"]

                               [/CACHE:Manual | Documents| Programs | BranchCache | None]

          sharename [/USERS:number | /UNLIMITED]

                    [/REMARK:"text"]

                    [/CACHE:Manual | Documents | Programs | BranchCache | None]

          {sharename | devicename | drive:path} /DELETE

          sharename \\computername /DELETE

 

 

 

posted on 2019-05-27 17:06  runliuv  阅读(512)  评论(0编辑  收藏  举报