Create Shortcut

Create shortcuts to programs from a command prompt or a bat / cmd file
Download

Create Shortcut Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Freeware
  • Publisher Name:
  • Mikael Holm
  • File Size:
  • 31 KB

Create Shortcut Tags


Create Shortcut Description

Create Shortcut application was designed to be a small program that makes it possible to create shortcuts to programs from a command prompt or a bat / cmd file. To be of any use to anyone who writes bat / cmd files CreateShortcut gives back a returncode. You can use this returncode by using ERRORLEVEL in the bat/cmd file. Table 1 shows the returncodes and their meaning. You control CreateShortcut by a number of commandline arguments (se Usage below). The very least you must supply to CreateShortcut to make a shortcut is the path to the shortcut file (including ".lnk") and what program that should be started when the shortcut is used. For this you use the arguments -l XXX and -p YYY. Keep in mind that if the filepath contains space you must use quotationmarks (") around it. Usage CreateShortcut -l LinkFile -p Program Arguments: -h Show this helpscreen and don't create shortcut -o Overwrite existing shortcut -q Quiet, don't show program information -l Shortcut to create with .lnk-extension -p Program that the shortcut should refer to -w Working directory for the program in Command -a Arguments to the program in Command Example: CreateShortcut -q -l MyLink.lnk -p notepad.exe -a "c:program files eadme.txt"


Create Shortcut Related Software