As an IT admin, you may find yourself needing to create a shortcut from the command line. While this can seem intimidating at first, it’s actually quite simple to do. In this article, we’ll walk you through the steps required to create a shortcut from the command line.
The first step is to open a command prompt window. You can do this by pressing the Windows key + R to open the Run dialogue box, typing “cmd” into the box, and pressing Enter. You can also open the command prompt by searching for “cmd” in the Windows search bar.
Once the command prompt window is open, you’ll need to tell it which file to create a shortcut for. To do this, type the full path of the file you want to create a shortcut for after the prompt. For example, if you wanted to create a shortcut for the file “C:\\My Documents\\MyFile.txt”, you would type “C:\\My Documents\\MyFile.txt” after the prompt.
Once you’ve typed in the full path of the file you want to create a shortcut for, you’ll need to tell the command prompt where you want the shortcut to be saved. To do this, type “/s” after the path of the file you typed in. This tells the command prompt to save the shortcut in the same location as the file you specified.
Now, you’ll need to give the shortcut a name. To do this, type the name of the shortcut after the “/s”. For example, if you wanted to name the shortcut “MyShortcut”, you would type “MyShortcut” after the “/s”.
Once you’ve finished typing in the command, press Enter to create the shortcut. The shortcut will then be saved in the same location as the file you specified.
Creating a shortcut from the command line can be a useful tool for IT admins. It can save you time and ensure that your shortcuts are always in the same place. While it may seem intimidating at first, once you’ve gone through the steps a few times, it will become second nature.
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.