@echo off echo X=%2>>bljs.vbs echo wscript.echo(X)>>bljs.vbs for /f %%a in ('cscript //nologo bljs.vbs') do set %1=%%a del bljs.vbs复制代码