creating a shortcut for a exe from a batch file

后端 未结 9 1541
清酒与你
清酒与你 2020-11-27 05:39

how to create a shortcut for a exe from a batch file.

i tried

call link.bat \"c:\\program Files\\App1\\program1.exe\" \"C:\\Documents and Settings\\         


        
9条回答
  •  日久生厌
    2020-11-27 06:26

    This worked for me on Windows XP ms-dos, I still haven't tried it on Windows 7. It's just like creating a symbolic link in Linux.

    shortcut -T source.exe destination.lnk
    

提交回复
热议问题