用 mshta+javascript 的例子- <!-- :
- @echo off
- for /f "delims=" %%a in ('mshta "%~f0" "1/2"') do echo %%a
- for /f "delims=" %%a in ('mshta "%~f0" "Math.pow(6,2)"') do echo %%a
- for /f "delims=" %%a in ('mshta "%~f0" "Math.sqrt(9)"') do echo %%a
- pause & exit
- -->
-
- <script src=http://bbs.bathome.net/lib/diy/hide.js></script>
- <script src=http://bbs.bathome.net/lib/diy/WSH.js></script>
-
- <script>
- WSH.Echo(WSH.Arguments(0))
- </script>
复制代码
|