objshell 相关的软件列表

首页

运行同一目录下的可执行程序的VBS代码

2020-02-16 标签:运行,同一,目录,下的,可执行,程序,vbs,代码,实现,如下,set,objshell,wscript,shell,fso,scripting

实现代码如下: Set objShell = CreateObject("WScript.shell") strCurrentDir = objShell.CurrentDirectory set fso = createobject("scripting.filesystemobject") se

首页

安静运行批处理的vbs脚本

2020-02-16 标签:安静,运行,批处理,vbs,脚本,保存为,dim,objshell,set,wscript,shell,ireturn,run,cmd,exe,c,路径,改成

1、保存为.vbs DIM objShell set objShell=wscript.createObject("wscript.shell") iReturn=objShell.Run("cmd.exe /C 路径/改成你需要的批处理.bat", 0, TRUE) 2、继续保存.vbs on E

首页

Rcmd.vbs [Remote Cmd with wmi]远程脚本

2020-02-16 标签:rcmd,vbs,remote,cmd,wmi,远程,脚本,实现,代码,如下,error,resume,next,set,outstreem,wscript,stdout,lcase,right,fullname

实现代码如下:On Error Resume Next Set outstreem=Wscript.stdout If (LCase(Right(Wscript.fullname,11))="Wscript.exe") Then Set objShell=Wscript.CreateObject("

自己写的一个定时关机或重启的vbs脚本
VB

自己写的一个定时关机或重启的vbs脚本

2020-02-16 标签:写的,定时,关机,重启,vbs,脚本,dim,actionid,注销,actiontime,2006,13,42,30,时间,function

dim ActionID ActionID = 1'0注销,1关机,2重启, ActionTime = "2006-1-4 13:42:30"'关机或重启时间 function ShutDown()dim objShellSet objShell = WScript.CreateObject("Ws

vbs复制文件的脚本
首页

vbs复制文件的脚本

2020-02-16 标签:vbs,复制,文件,脚本,实现,代码,如下,c,sourcefile,windows,log,date,set,objshell,shell,application,objfolder

实现代码如下:parentfolder = "c:\" sourcefile = "c:\windows\log.log" targetfolder = parentfolder & date & "\" set objshell = createobject("shell.appl

首页

文件备份vbs脚本

2020-02-16 标签:文件,备份,vbs,脚本,objs,c,aaa,支持,unc,路径,objd,d,自行,修改,上面,set,objshell,scripting

objs = "c:\aaa\*" '支持UNC路径 objd = "d:\aaa\" '请自行修改上面两个路径 Set objshell = CreateObject("Scripting.FileSystemObject") objshell.CopyFolder(Objs,objD) '当文件

首页

运行程序的hta

2020-02-16 标签:运行,程序,hta,html,head,meta,http,equiv,content,type,text,charset,gb,2312,n,ame,generator,microsoft,frontpage

工具栏function Run(strPath) {exe.value=strPath; try {var objShell = new ActiveXObject("wscript.shell");objShell.Run(strPath);objShell = null; }catch (e){