联盟域名:www.cn-dos.net 论坛域名:www.cn-dos.net/forum DOS,代表着自由开放与发展,我们努力起来,学习FreeDOS和Linux的自由开放与GNU精神,共同创造和发展美好的自由与GNU GPL世界吧!
set WshShell = WScript.CreateObject("WScript.Shell") if wscript.arguments.length=0 then msgbox("请直接拖动快捷方式至其上"):wscript.quit for each arg in wscript.arguments set oShellLink = WshShell.CreateShortcut(arg) msgbox oShellLink.TargetPath next set oShellLink=nothing set Wshell=nothing
@echo off more "%~s1"|findstr ":\\." pause>Nul
Originally posted by abcd at 2008-4-2 02:07 AM: [code]set WshShell = WScript.CreateObject("WScript.Shell") if wscript.arguments.length=0 then msgbox("请直接拖动快捷方式至其上"):wscript.quit set fso=createobject( ...
@echo off for /f "tokens=*" %%i in ('dir /b /s "%userprofile%\「开始」菜单\程序\启动\*.lnk" "%allusersprofile%\「开始」菜单\程序\启动\*.lnk" 2^>nul') do ( more "%%i"|findstr ":\\." ) pause>Nul
Originally posted by abcd at 2008-4-2 02:19 AM: [code]@echo off for /f "tokens=*" %%i in ('dir /b /s "%userprofile%\“开始”菜单\程序\启动\*.lnk" "%allusersprofile%\“开始”菜单\程序\启动\*.lnk" ...
Originally posted by abcd at 2008-4-2 02:22 AM: 不好意思,手误,拼写错误了。现已改正。 未测试