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 23:33
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » Please enter the download address and usage of shortcut.exe. View 2,214 Replies 5
Original Poster Posted 2006-10-23 11:19 ·  中国 河北 沧州 任丘市 华北油田网络
中级用户
★★
MS-DOS爱好者
Credits 397
Posts 87
Joined 2002-12-15 00:00
23-year member
UID 517
Gender Male
Status Offline
I want to create a shortcut in batch processing, but I don't know the download address of the newer shortcut.exe file. If anyone knows, please provide it, thanks! Also, it would be even better if some teacher can give a detailed explanation of the usage of shortcut.exe
Floor 2 Posted 2006-10-23 12:16 ·  中国 湖北 武汉 电信
版主
★★★★★
Credits 11,386
Posts 4,938
Joined 2006-07-23 17:10
20-year member
UID 59080
Status Offline

  Please make full use of search engines~~
Floor 3 Posted 2007-05-16 23:14 ·  中国 湖北 黄冈 电信
高级用户
★★★
Credits 894
Posts 411
Joined 2007-02-17 12:15
19-year member
UID 79697
Gender Male
Status Offline
Isn't it helpful? Take your time to read!
@set c= 不知则觉多,知则觉少,越知越多,便觉越来越少. --- 知多少.
@for,/l,%%i,in,(1,1,55)do,@call,set/p=%%c:~%%i,1%%<nul&ping/n 1 127.1>nul


Floor 4 Posted 2008-03-30 05:21 ·  中国 广东 广州 电信
新手上路
Credits 4
Posts 2
Joined 2008-02-15 07:41
18-year member
UID 110682
Gender Male
Status Offline
Find 2 contents
No help at all
Floor 5 Posted 2008-03-30 15:10 ·  中国 台湾 中华电信
初级用户
★★
Credits 144
Posts 65
Joined 2008-03-20 20:03
18-year member
UID 113522
Gender Male
From Taiwan
Status Offline
Pass by~
If the same needs to use an external program, I use PECMD for reference
├──┼──┼──────────────────────────────────────────────┤
│ │Format│LINK [!]<shortcut path><,target path>[,run parameters][,icon path][,icon index] │
│ ├──┼──────────────────────────────────────────────┤
│ │Function│Create a shortcut. │
│ ├──┼──────────────────────────────────────────────┤
│ │Parameters│■Shortcut path Specify the path of the shortcut to be generated, no need for ".LNK" extension. │
│ │ │■Target path Specify the target file or directory of the shortcut. If the target does not exist, the shortcut will not be created. If this command is used in a command│
│LINK│ │ file, the target path can use a relative path (relative to the path where the configuration file is located). │
│ │ │■Run parameters Run parameters of the target program. │
│ │ │■Icon path Path of the shortcut icon. │
│ │ │■Icon index Serial number of the shortcut icon in the file resource, 0 is the first icon, if not filled, it is default. │
│ ├──┼──────────────────────────────────────────────┤
│ │Example│LINK !%Desktop%\Broadband Connection,RASPPPOE.CMD,,RASDIAL.DLL,19 │
│ ├──┼──────────────────────────────────────────────┤
│ │Remarks│※The leading "!" means to start the program in minimized mode, which can be used to minimize the command window when executing a batch file.
Floor 6 Posted 2008-03-30 18:38 ·  中国 浙江 嘉兴 平湖市 电信
初级用户
★★
Credits 157
Posts 67
Joined 2007-05-13 11:03
19-year member
UID 88378
Gender Male
Status Offline
Reply cannot carry attachments. Contact QQ 381615161
Forum Jump: