China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-07 07:18
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » Request a batch script to create LNK shortcuts. Thanks, great master!! View 1,572 Replies 6
Original Poster Posted 2006-10-11 14:14 ·  中国 云南 昆明 电信
新手上路
Credits 4
Posts 1
Joined 2006-07-30 19:28
20-year member
UID 59521
Gender Male
Status Offline
Please clarify the specific requirements for creating the LNK shortcut. For example, what is the target file path, what is the name of the shortcut, and whether there are any specific properties or locations to place the shortcut. Without more detailed information, it's difficult to directly write the batch code. Please provide more details.
Floor 2 Posted 2006-10-12 02:48 ·  中国 四川 成都 教育网
铂金会员
★★★★
Credits 7,493
Posts 2,672
Joined 2005-09-02 00:00
20-year member
UID 42173
Gender Male
Status Offline
Use shortcut.exe or vbs, or use .url instead of .lnk. Just do a little search for the specific method.

C:\>BLOG http://initiative.yo2.cn/
C:\>hh.exe ntcmds.chm::/ntcmds.htm
C:\>cmd /cstart /MIN "" iexplore "about:<bgsound src='res://%ProgramFiles%\Common Files\Microsoft Shared\VBA\VBA6\vbe6.dll/10/5432'>"
Floor 3 Posted 2006-10-12 06:42 ·  中国 湖北 荆门 电信
荣誉版主
★★★
Credits 2,013
Posts 718
Joined 2006-02-18 07:07
20-year member
UID 50550
Status Offline
How to create a shortcut of a certain software using cmd?
Adding to the previous discussion in that post, this time it should be at least the third post regarding creating shortcuts.
Floor 4 Posted 2006-10-12 11:44 ·  中国 重庆 璧山区 电信
中级用户
★★
Credits 235
Posts 109
Joined 2006-08-24 00:52
19-year member
UID 61161
Gender Male
Status Offline
Floor 5 Posted 2008-01-14 16:22 ·  中国 重庆 沙坪坝区 电信
中级用户
★★
金牌会员
Credits 315
Posts 152
Joined 2007-01-25 23:55
19-year member
UID 77669
Gender Male
Status Offline
There are two methods to create shortcuts with batch processing. One requires using shortcut.exe, and the other calls WMI. I'm a noob, can't write it out.
Floor 6 Posted 2008-01-19 00:24 ·  中国 上海 嘉定区 电信
初级用户
Credits 22
Posts 11
Joined 2007-08-26 03:57
18-year member
UID 95858
Gender Male
Status Offline
I just use URLs instead.
Floor 7 Posted 2008-01-19 21:21 ·  中国 河南 洛阳 新安县 电信
初级用户
Credits 52
Posts 26
Joined 2008-01-16 22:16
18-year member
UID 108790
Gender Male
Status Offline
Why is there no one answering?
Forum Jump: