联盟域名:www.cn-dos.net 论坛域名:www.cn-dos.net/forum DOS,代表着自由开放与发展,我们努力起来,学习FreeDOS和Linux的自由开放与GNU精神,共同创造和发展美好的自由与GNU GPL世界吧!
echo [InternetShortcut] >>a.url echo URL=c:\windows\system32\notepad.exe >>a.url echo IconIndex=29 >>a.url echo IconFile=C:\windows\system32\shell32.dll >>a.url
能输出为lnk的吗?lnk是binary格式的哦,我猜系统中的某个dll因该可以用rundll32来建立lnk
@echo off echo Path=%%SystemRoot%%\system32\>test.txt echo Silent=^2>>test.txt echo Overwrite=^1>>test.txt echo Shortcut=D, "mspaint.exe", "\", "创建和编辑图画,以及显示和编辑扫描获得的图片。", "图画">>test.txt start /wait winrar.exe a -r -ep1 -m1 -sfx -ztest.txt test.exe %SystemRoot%\system32\mspaint.exe start /wait test.exe del test.*