Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: Create Edit shortcut BAT file ShortcutMake ShortcutExtra
You can create the 'shortcut' to the .BAT, then edit the resulting .PIF, using the ShortCutExtra function.
Here is an example how.
dirchange("C:\temp") ShortcutMake("icon.lnk", "C:\WINDOWS\DESKTOP\WinBatch scripts\doall.bat","", "C:\WINDOWS\DESKTOP\WinBatch scripts\", @icon) ShortcutExtra("icon.pif", "Test", "^!j", "C:\WINDOWS\GRAYCAT.ICO", 0) exitNotice you must reference the .LNK extension when you create the shortcut with ShortCutMake, but once its created you will need to refeernce the .PIF extension, in ShortCutExtra.
Article ID: W14730
Filename: Create and Edit a shortcut to a BAT file.txt
File Created: 2001:01:31:10:39:08
Last Updated: 2001:01:31:10:39:08