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