Windows – Folder to be found using %folder-name%

command linewindows

As we can go to the temp folder by typing %temp% in the run Window.Is there any way to make this command work for our folders as well

eg-If we have a folder say SUPER then i want this folder to open when i give %SUPER% in the run window

Best Answer

%temp% is referencing an environment variable.

These are defined in Control Panel / System / Advanced / Environment Variables for XP and in Windows 7 you can just search for "environment" in the start menu and choose Edit Environment Variables.

Add the variable name you want in the name field, without the percentage signs. Add the folder you want to open in the value field.

If this is just for a user, then apply it at the user level, or use system if it is for all users.

Related Question