Open folder from Run by a keyword ?

  • Thread starter Thread starter Ayush
  • Start date Start date
A

Ayush

How can I open folder(s) by typing a short keyword like to open "System
Configuration Utility", you can type msconfig.
I tried creating a new key in
"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths"
named foldera with the default value set to {Explorer.exe <My Folder Path>}
(Without {}) but this didn't work. It says that it cant find foldera when I
enter foldera in Run dialog. If set the value to explorer.exe then it works
but why it cant take the parameter. Can anyone tell me how to open folders
easily ? I don't want to create variables because then you have to enter %%
 
Simply entering the folder name (full path), without any keyword, will open
it if found. The path must be correct and in quotes if there are any
spaces. I suspect if this isn't working for you, that you're not entering
the path correctly.
example "C:\My Photos\Vacation"
 
How can I open folder(s) by typing a short keyword like to open "System
Configuration Utility", you can type msconfig.
I tried creating a new key in
"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths"
named foldera with the default value set to {Explorer.exe <My Folder Path>}
(Without {}) but this didn't work. It says that it cant find foldera when I
enter foldera in Run dialog. If set the value to explorer.exe then it works
but why it cant take the parameter. Can anyone tell me how to open folders
easily ? I don't want to create variables because then you have to enter %%

Why not just create a series of batch files named after the keyword.

Example of mydoc.bat (Opening a folder)

@echo off
start explorer C:\Documents and Settings\username\My Documents
exit


Example of addrem.bat (Not a folder but application keyword)

@echo off
start appwiz.cpl
exit


Making sure of course that your placing the batch files somewhere in
the path that you would be working from.


Respectfully,

Trev
 
Replied to [Trevor]'s message :
-----------------------------------------------------------
Why not just create a series of batch files named after the keyword.


Nice idea. I forgot about that. Thanks.
 
(e-mail address removed),
Ayush said:
How can I open folder(s) by typing a short keyword like to
open "System Configuration Utility", you can type msconfig.
I tried creating a new key in
"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App
Paths" named foldera with the default value set to
{Explorer.exe <My Folder Path>} (Without {}) but this didn't
work. It says that it cant find foldera when I enter foldera
in Run dialog. If set the value to explorer.exe then it
works but why it cant take the parameter. Can anyone tell me
how to open folders easily ? I don't want to create
variables because then you have to enter %%

Add <My Folder Path> to your Path Environmental Variable. Make
sure that you add a trailing semicolon and that the folders you
wish to open in the Run box aren't named the same as any file
or folder that's in C:\WINDOWS or C:\WINDOWS\System32.

If you're not sure how to do this, try the following,

In Control Panel, open System Properties.
Click on the Advanced page.
Hit the Environmental Variables button.
In the System variables box, click on Path so it's highlighted.
Hit the Edit button.
Hit the left arrow key on your keyboard so that the entry in
the Variable value box is no longer highlighted.
Add the path to the folder that is above the ones you want to
open using the Run box.
Note: You don't have to but quotation marks around folder names
that contain spaces.
Add a trailing semicolon.

Your Path should end up looking something like this,

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;<My
Folder Path>;

Once you do this, you can enter the name of any file or folder
that's contained within the <My Folder Path> folder in the Run
box and it should open.

Good luck

Nepatsfan
 
Back
Top