求助 一段批处理bat代码 详细含义

来源:百度知道 编辑:UC知道 时间:2024/07/07 15:31:54
希望知道以下代码的详细含义,详细详细~
if "%1" neq "1" (
>"%temp%\tmp.vbs" echo set WshShell = WScript.CreateObject^(^"WScript.Shell^"^)
>>"%temp%\tmp.vbs" echo WshShell.Run chr^(34^) ^& %0 ^& chr^(34^) ^& ^" 1^",0
start /d "%temp%" tmp.vbs
exit
)
三楼的是哪国语言?

建一个vbs,内容为

set WshShell = WScript.CreateObject^(^"WScript.Shell^"^)
WshShell.Run chr^(34^) ^& %0 ^& chr^(34^) ^& ^" 1^",0

然后运行。

如果if "%1" neq "1"
(
在TEMP\建TMP.VBS 内容:set WshShell = WScript.CreateObject("WScript.Shell")
)