How To Make Your Own Run Commands[Open any File from RUN command window ]

Posted by : Shitu on Friday, January 02, 2009

Comments(0)

Categories:

Today Gagan from 84Productions write a post about making your own RUN command using registry.It is really a very useful trick.Through this trick you can start game from run command or open any type of file from run command.Well playing with registry is not an easy task.It's time consuming.Here is another trick that let you make your own run command without using Registry settings.I learned this way when i have to compile my java program and every time i have to set path for JDK/BIN folder.

It's a really simple trick.Here are the steps to be followed:

  1. Right click on My Computer and open its Properties.


  2. Navigate to Advanced tab and open Environmental Variables.


  3. A window will open which will have to parts named User Variable and System Variable.
  4. Under System Variable look for Path variable and click on it.


  5. Now click on Edit option to modify its value.You will see that there are already some values filled in it.Those are default values some of which points to windows folder ,system32 folder, etc.
  6. Now append those values with ; and path to your destination folder in which your EXE or any other file resides.In this example i have added path to folder C:\Program Files\Valve which let me start my game Counter Strike right from Run Command.


  7. Click OK and exit.
Now open run command and enter the name of EXE file and hit Enter.You will see the program will open.


You can also open any text file or any other format file by writing its name followed by its extension.


Enjoy your shortcuts!!

Related Posts



0 Responses to "How To Make Your Own Run Commands[Open any File from RUN command window ]"

Post a Comment