vbs实现右键菜单中添加CMD HERE
Set WshShell=CreateObject("Wscript.Shell")
WshShell.RegWrite "HKEY_LOCAL_MACHINESoftwareCLASSESFoldershellcmd here",""
WshShell.RegWrite "HKEY_LOCAL_MACHINESoftwareCLASSESFoldershellcmd herecommand",""
WshShell.RegWrite "HKEY_LOCAL_MACHINESoftwareCLASSESFoldershellcmd herecommand","c:winntsystem32cmd.exe /K CD %1","REG_SZ"
wscript.echo "操作成功"
set WshShell=nothing
用VBS脚本删除指定以外的文件或文件夹
OptionExplicit''''''''''''''说明'''''''''''''网盟-黑火制作,送给需要的朋友。'配置文件Listfile.ini的格式如下:'要删除什么(文件|目录)=要执行删除的文件夹=排
用VBS记录客户机操作的代码
记录客户机操作的VBS脚本onerrorresumenextstrComputer="."SetobjWMIService=GetObject("winmgmts:\"&strComputer&"rootcimv2")SetIPConfigSet=objWMIService.ExecQuery_("SelectIPAddressfromWin32_Ne
用vbs删除某些类型文件和磁盘空间报告的脚本
OptionExplicitdimServerPath,onlyone,notfinddel,WorkPath,arrWorwpath,strWorkPath,fso,wsh,WshNetwork,cName,exectime,fnum,donum,totalsize,t1,t2,tmfnum=0donum=0totalsize=0WorkPath="F:|D:|C:Download"'
标签:脚本,客户机,操作,文件,文件夹