首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 操作系统 > windows >

2003注销脚本怎么编写

2012-01-15 
2003注销脚本如何编写我做了个登录脚本如下:gr.vbsDimnetSetnetCreateObject(WScript.Network)mapping

2003注销脚本如何编写

我做了个登录脚本如下:gr.vbs
Dim net  
  Set net = CreateObject("WScript.Network")  
   
  ' mapping net work drivers  
  net.MapNetworkDrive "L:", "\\223.223.2.251\grdx$","True"  
  net.MapNetworkDrive "M:", "\\223.223.2.251\gr$","True"  
  net.MapNetworkDrive "z:", "\\223.223.2.251\grtemp$","True"  
 
   
  ' Create desktop shortcuts  
  Set Shell = CreateObject("WScript.Shell")  
  DesktopPath = Shell.SpecialFolders("Desktop")  
  Set link = Shell.CreateShortcut(DesktopPath & "\digicentury.lnk")  
  link.TargetPath = "http://www.xxxxx.com.cn"  
  link.WorkingDirectory = DesktopPath  
  link.Save  


现想关机时注销它,如何写,要不然每次开机说盘符存在的提示。

2003我才刚用,不懂。
 

[解决办法]
关机时运行这个命令
net use * /del

热点排行