本帖最后由 pcl_test 于 2016-9-28 21:47 编辑
powershell- for /f %%a in ('powershell -c "[Math]::pow(2,4)"') do echo;%%a
- for /f %%a in ('powershell -c "[Math]::log(16,2)"') do echo;%%a
复制代码 js- for /f %%a in ('mshta "javascript:new ActiveXObject('Scripting.FileSystemObject').GetStandardStream(1).Write(Math.pow(2,4));close()"') do echo;%%a
- for /f %%a in ('mshta "javascript:new ActiveXObject('Scripting.FileSystemObject').GetStandardStream(1).Write(Math.log(16)/Math.log(2));close()"') do echo;%%a
复制代码 vbs- for /f %%a in ('mshta "vbscript:CreateObject("Scripting.Filesystemobject").GetStandardStream(1).Write(2^4)(close)"') do echo;%%a
- for /f %%a in ('mshta "vbscript:CreateObject("Scripting.Filesystemobject").GetStandardStream(1).Write(log(16)/log(2))(close)"') do echo;%%a
复制代码
|