本帖最后由 pcl_test 于 2016-9-6 14:19 编辑
怎样把%ProgramFiles%\Baidu原样保存到剪贴板- @echo off
- more +4 %0 >3.vbs
- start 3.vbs
- exit
- str="%ProgramFiles%\Baidu"
- Set ws = wscript.createobject("wscript.shell")
- ws.run "mshta vbscript:clipboardData.SetData("+""""+"text"+""""+","+""""&str&""""+")(close)",0,true
- createobject("scripting.filesystemobject").getfile(wscript.scriptfullname).delete
复制代码
|