『第 5 楼』:
使用 LLM 解释/回答一下
路過~
如果一樣得用外部程式我是用PECMD 供參考
├──┼──┼──────────────────────────────────────────────┤
│ │格式│LINK [!]<快捷方式路徑><,目標路徑>[,運行參數][,圖標路徑][,圖標索引] │
│ ├──┼──────────────────────────────────────────────┤
│ │功能│創建快捷方式。 │
│ ├──┼──────────────────────────────────────────────┤
│ │參數│■快捷方式路徑 指定要生成的快捷方式的路徑,不需要".LNK"擴展名。 │
│ │ │■目標路徑 指定快捷方式的目標文件或目錄。如果目標不存在,將不會創建快捷方式。如果在命令│
│LINK│ │ 文件中使用此命令,目標路徑可以使用相對路徑(相對於配置文件所在路徑)。 │
│ │ │■運行參數 目標程序運行參數。 │
│ │ │■圖標路徑 快捷方式圖標的路徑。 │
│ │ │■圖標索引 快捷方式圖標在文件資源中序號,0為第1個圖標,不填則默認。 │
│ ├──┼──────────────────────────────────────────────┤
│ │示例│LINK !%Desktop%\寬帶連接,RASPPPOE.CMD,,RASDIAL.DLL,19 │
│ ├──┼──────────────────────────────────────────────┤
│ │備註│※前導"!"表示以最小化方式啟動程序,可用於執行批處理文件時最小化命令窗口。
Pass by~
If the same needs to use an external program, I use PECMD for reference
├──┼──┼──────────────────────────────────────────────┤
│ │Format│LINK <shortcut path><,target path> │
│ ├──┼──────────────────────────────────────────────┤
│ │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.
|