smss 当前离线
中尉
start mshta VBScript:Execute("msgbox(""安装完毕! ""):close")复制代码
start %Public%\desktop\说明.txt复制代码
TOP
@echo off (echo dim wsh echo set wsh = createobject^("wscript.shell"^) echo if msgbox^("安装完毕"^)=1 then echo wsh.run "%Public%\Desktop\说明.txt" echo end if)>1.vbs&start "" 1.vbs pause复制代码
1152 当前离线
禁止访问
WHY 当前离线
上校
mshta VBScript:Execute("Set wshShell=CreateObject(""WScript.Shell""):If MsgBox(""安装完毕! "")=1 Then:wshShell.Run wshShell.SpecialFolders(""AllUsersDesktop"")&""\说明.txt"":End If:close")复制代码
评分人数
@Echo off (echo name=InputBox^("请输入主题打包署名",name^) echo Wscript.Echo^(name^) echo qq=InputBox^("QQ",qq^) echo Wscript.Echo^(qq^))>1.vbs for /f "delims=" %%i in ('cscript.exe //nologo 1.vbs')do set /a n+=1&call set "a%%n%%=%%i" del 1.vbs Echo %a1% %a2% pause复制代码
@echo off for /f "tokens=1*" %%i in ('mshta VBScript:Execute("a=InputBox(""Name""):b=InputBox(""QQ""):CreateObject(""Scripting.FileSystemObject"").GetStandardStream(1).Write(""qq=""&b&"" name=""&a):close"^)') do ( set "%%i" & set "%%j" ) echo Name=%name% echo QQ=%qq% pause复制代码
一定要用 mshta 的话,可以这样: WHY 发表于 2021-5-10 20:08