TechSansar
  • Startups
    • Tech Events
      • Submit Tech Events in Nepal
  • Services
    • Shop
    • Web hosting Features
    • Projects initiated by Team TechSansar
    • Windows Apps developed by Team TechSansar
  • Top Posts
    • ICT Organizations in Nepal
    • Top Websites in Nepal
    • Trending Topics related to Nepal
    • Wi-Fi Access Directory Nepal
    • SEO Guide to Nepalese Bloggers – नेपाली ब्लगरहरुलाई SEO सम्बन्धि सुझावहरु
  • Market
    • LG TV Prices
    • Galaxy Tablet Prices
    • Samsung TV Prices
  • Categories
    • Gadgets
    • Nepali IT
    • Telecom
    • Freebies
    • QnA
      • Ask a Question
      • नेपाली संस्करण
No Result
View All Result
Social icon element need JNews Essential plugin to be activated.
TechSansar
  • Startups
    • Tech Events
      • Submit Tech Events in Nepal
  • Services
    • Shop
    • Web hosting Features
    • Projects initiated by Team TechSansar
    • Windows Apps developed by Team TechSansar
  • Top Posts
    • ICT Organizations in Nepal
    • Top Websites in Nepal
    • Trending Topics related to Nepal
    • Wi-Fi Access Directory Nepal
    • SEO Guide to Nepalese Bloggers – नेपाली ब्लगरहरुलाई SEO सम्बन्धि सुझावहरु
  • Market
    • LG TV Prices
    • Galaxy Tablet Prices
    • Samsung TV Prices
  • Categories
    • Gadgets
    • Nepali IT
    • Telecom
    • Freebies
    • QnA
      • Ask a Question
      • नेपाली संस्करण
No Result
View All Result
TechSansar

Creating custom run commands to speed up access in Windows 7 & beyond

10 years ago
in Tips & Tricks, Tutorials
Reading Time: 15 mins read
0
Rename shortcut file to easy short form

Rename shortcut file to easy short form

Have you ever felt you wanted to access a file in Windows and it’s buried deep within various tiers of sub-directories. See further no more, for, I have come to your rescue. Today we are going to utilize run interface to create shortcuts that will make accessing those files and similarly folders and software faster.

This tutorial assumes reader is acquainted with run interface in windows. If not, [Win] + R combination brings up run interface where we can enter commands to be executed. It can also be accessed from Start Menu in before Windows 8 versions. In versions beyond Windows 8, it can be accessed in Power User Task Menu [Win + X] as well.

Pre-requisites:

  • Knowledge of Windows environment variables
  • Knowledge of Windows shortcut (i.e. *.lnk) files
  • Windows run interface [Win + R]

This tutorial has been divided into three parts; first one gives background knowledge on run commands and environment variables. Second and third part provides steps on how to make folder globally accessible and creating shortcuts to be used with run interface.

Part One: Understanding how run commands and environment variables work

Commands we enter in run interface are executed by searching the folders listed in Path system variable for exact file name excluding extension.

Related Post

6 simple yet effect ways to speed up your Windows 10 computer

Fix for “Sorry, another account from your organization is already signed in on this computer.”

Foundational Engineering: What Makes a ThinkPad a ThinkPad

? Add emoji from your Keyboard in Windows 10

There are two types of environment variables in windows i.e. user variables and system variables. These variables contain values about system and more which are globally accessible from applications; command prompt; run interface.

In order to be able to view variables follow below steps:

Step 1. Since, we are acquainted with run interface we will proceed using it.

Open Run interface [Win] + R

Run Interface
Run Interface

Step 2. Enter sysdm.cpl to open System Properties.

Run Interface with sysdm.cpl
Run Interface with sysdm.cpl

Note: Find more such run commands here!

Step 3. Go to Advanced tab of System Properties

Advanced Tab in System Properties
Advanced Tab in System Properties

Step 5. Open Environment Variables

But, be careful before modifying these variables, chances of breaking system is also high here .

Environment variables
Environment variables

Now, we have learned where we can find environment variables. Lets proceed to our second part which teaches you how to add your own path here and use it.

Part Two: Creating a path folder and adding it to Path variable in system type environment variable

By following above steps, now we can view and modify the variables to our convenience.

Since, run commands are executed by matching to exact file in folders in Path system variable, we need to create a folder to place them. And that folder needs to entered into Path system variable in order to be globally accessible and be searched when we enter a command in run interface.

Firstly, create a folder where you find easy and keep in mind you will be putting all shortcut links and softwares you want easy access in this folder. Below is a glimpse of such folder.

In my case; I created a folder “cmds” in “C:\” which means path will be “C:\cmds”.

Sample Commands Folder
Sample Commands Folder

We can see that by entering “p” in run interface it opens a folder that we have shortened to decrease access time.

Now for the second part, we need to make this folder globally accessible by adding this path to Path system variable.

For this, follow below steps:

Step 1. Following steps in Part One; go to environment variables.

Environment vairables
Environment vairables

Step 2. There, in system variables section; find Path variable and Edit it

Editing Path variable
Editing Path variable

Step 3. Add the path we want to be accessible from run interface to that variable. We need to follow a convention to add new path in this variable as shown below:

<path1>;<path2>;<new path to be added>

eg: C:\windows;C:\windows\system32;<new path>

Add Path to path variable
Add Path to path variable

Now whenever we enter commands into run interface, this folder will also be searched for exact match. After this we can proceed to third part where we will be creating custom run commands for our easiness.

Part Three: Creating shortcuts to files/ folders/ software you want to access faster

Since, now we have set-up run interface to scan our preset folder for any commands we enter there. What is remaining is to create shortcut links that are more easy to type and will be accessed from run interface.

Step 1. Create shortcut link for files/ folder/ software that you want to access by right clicking and “create shortcut”.

Create shortcut
Create shortcut

Step 2. Move that newly created shortcut file to the path we previously created.

Moving shortcut to commands folder
Moving shortcut to commands folder

Step 3. Rename it to something easy to remember and faster at typing. Filename is what we will be entering in run interface from now on to access that particular target.

Rename shortcut file to easy short form
Rename shortcut file to easy short form

Note: we can create shortcuts for various targets files/folder/software/commands with parameters. Possibilities are endless.

Congratulations!, now you have completed the steps of creating shorter and faster access of targeted files/folders/software. We can verify it by typing the shortcut we created into run interface.

You can add as much shortcuts in this folder and make accessing files/folders/ software easy and faster the pro way.

References:

1 https://msdn.microsoft.com/en-us/library/windows/desktop/bb776899(v=vs.85).aspx

2 https://technet.microsoft.com/en-us/library/ee692671.aspx

3 http://www.shortcutworld.com/en/win/Windows-Run-Commands.html

Next Post
Bandwith Place: HTML5 Speed Test for Desktop, Laptop, Mobile and Tablets

5 tools to test your Internet connection bandwidth speed

No Result
View All Result

Recent Posts

  • Great! Nagarik App now supports Vehicle Tax and Bluebook Info #NagarikApp
  • 👍 Nepal moves 15 spots up in Global Cybersecurity Index 2021
  • Brave Search is here – offers independent privacy search #SearchEngine #BraveSearch
  • Windows 11 – what we know so far about Microsoft’s Windows 11?
  • How to reduce background noise during Microsoft Teams or Zoom meetings
  • What is VoLTE & how to activate VoLTE for Nepal Telecom mobile SIM
  • ICT Initiatives announced during National ICT Day 2078 #NationalICTDay
  • Nagarik App is out of beta, introduces Nagarik profile QR scanner & more features
  • Samsung’s Flagship Phones Prices in Nepal
  • 6 simple yet effect ways to speed up your Windows 10 computer

Recent Comments

  • Dewlance Hosting on Top Websites in Nepal
  • Suman Singh on Basic Core ICT Indicators
  • Dinesh Guragai on Huawei Authorised Dealers, Distributors & Service Centers in Kathmandu, Nepal
  • Anup Thapa on All Nepali Fonts – download & install in Windows, Mac & Ubuntu
  • Dhiraj singh on Authorized distributors & Service center of Dell laptops in Nepal

Listen to TechSansar Podcast

Categories

Recently published

  • Great! Nagarik App now supports Vehicle Tax and Bluebook Info #NagarikApp
  • 👍 Nepal moves 15 spots up in Global Cybersecurity Index 2021
  • Brave Search is here – offers independent privacy search #SearchEngine #BraveSearch
  • Windows 11 – what we know so far about Microsoft’s Windows 11?
  • How to reduce background noise during Microsoft Teams or Zoom meetings
No Result
View All Result
Call us: +1 234 JEG THEME
No Result
View All Result
  • QnA Platform
  • Gadgets
  • Tech News
  • Tips & Tricks
  • About us
  • ICT in Nepal
  • Market

With ❤ from Nepal