SET ICONDEST=c:\ProgramData\%AppDescription%Ĭopy "%WORKING_PATH%%IconName%" "%ICONDEST%"Įcho IconFile=%ICONDEST%\%IconName% > "%LinkPath%"Įcho.You should now have a shortcut to %AppDescription% on your desktop. Please note also that any trailing spaces will affect the value of the variable. If an icon is not available or not required, simply omit the pertinent lines) Change the code where necessary to fit your application specific details. (please note that this script assumes that an icon also exists - MyIconName.ico - in the same directory as this script. Now that we have all the necessary information, create a new file sktop within /Desktop directory using your favourite text editor and paste the following lines as part of the file’s content. The following is a batch script that I use to manage URL shortcuts: I know this is an old thread but it was the first StackOverFlow page to popup in Google, so I thought I'd make a reply.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |