
CODE: [Copy to clipboard]@reg add hkcr\*\shell\SaveClipData\command /ve /d "mshta vbscript:CreateObject(\"Scripting.FileSystemObject\").OpenTextFile(replace(time,\":\",\";\")&\".txt\",2,true).Writeline(CreateObject(\"htmlfile\").parentwindow.clipboardData.getData(\"text\"))(window.close)" /f
CODE: [Copy to clipboard]化了九牛二虎的精力凑出来这么一行代码@echo off&mode con: cols=48 lines=2&"%~dp0CMD\winclip.exe" -p>tmp.txt&for /f "tokens=2 delims=:" %%i in ('findstr /n . tmp.txt^|findstr /b "1:"') do (ren "%~dp0tmp.txt" "%%i".txt)||start /min notepad tmp.txt&&pause
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |