- 1>1/* :
- @echo off
- :MAIN
- cscript -nologo -e:jscript "%~f0" "KZSZ.ini" 1000
- goto :MAIN
- exit/b
- */
- //////////////////////////////////////////////////////////////
- var fso = new ActiveXObject('Scripting.FileSystemObject');
- var f = fso.openTextFile(WScript.arguments(0), 2, true);
- f.writeLine('[config]\r\nisag=1\r\nisnever=1\r\n[软件配置]\r\nsmjg=5000\r\nszjg1=' + eval('~~(Math.random()*100)') + '\r\nszjg2=' + eval('~~(Math.random()*100)') + '\r\ndzjg=' + eval('~~(Math.random()*100)') + '\r\nzsl=50\r\nhyxz=3\r\nhyxzon=1');
- f.close();
- WScript.sleep(WScript.arguments(1));
- //////////////////////////////////////////////////////////////
复制代码
|