Create shortcut on desktop using command prompt or C program

Vishal Sharma

Vishal Sharma

@vishal-pysGmK Oct 26, 2024
Is there any way of creating shortcut icon using command prompt or C ???

Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • Abhishek Rawal

    Abhishek Rawal

    @abhishek-fg9tRh Dec 24, 2012

    Well yes tmp .vbs script is solution.

    Check - superuser.com/questions/455364/how-to-create-a-shortcut-using-a-batch-script

    PS : add http or www as prefix of link if it doesn't work.
  • grsalvi

    grsalvi

    @grsalvi-7IhIh1 Dec 24, 2012

    If you are thinking of making a setUp file. Use winRar , and compress the ".exe" file to SFX.
    In SFX ,there is also an option where you can tell to add shortcut and the location it should be placed.
  • Vishal Sharma

    Vishal Sharma

    @vishal-pysGmK Dec 24, 2012

    I used Uharc to get .uha file...
    and then extracting .uha accordingly in a particular drive but it seems a little complicated..
    I got the shortcut using vbs but still, extracting .uha at the place where i want is a pain!! :/