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.