返回列表 发帖
我这边XP测试可以用

但是放在windows2008 64位上就不行了

'cscript' is not recognized as an internal or external command, operable program or batch file

这是为什么阿,刚开始接触这个,还不懂,请指教

TOP

我这边XP测试可以用

但是放在windows2008 64位上就不行了

'cscript' is not recognized as an intern ...
xksu 发表于 2013-1-11 16:28



    嘎嘎,可以了,


for /f %%a in ('cscript /nologo "%temp%\DstDate.vbs"') do (
    set "DstDate=%%a"
)

在cscript前加上路径: C:\windows\system32\

TOP

返回列表