Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 361
  • Last Modified:

win7 folders

I have been trying to google the way you can open folders by putting something like
%localuser%
in the address bar, but the search must use the % sign as a special character, so I'm not finding what I am looking for
So, does anybody know of a list of the %something% thing in win7? so I could go to the address bar and put something like
%localuser%
and it would take me to
C:\users\mydirectory
Sorry, for the horrible description, I don't know what the % thing is called.
0
JeffBeall
Asked:
JeffBeall
4 Solutions
 
RoblesadCommented:
I can´t understand very weel what you exactly want, I think the command you are looking for is %HOMEPATH%, but you can take a look to this page, it may help you.

http://ss64.com/nt/syntax-variables.html
0
 
Joe Winograd, EE MVE 2015&2016DeveloperCommented:
Hi Jeff,
The "% thing" is called an Environment Variable, so a Google search for "environment variable local user" will probably give you what you're looking for (note the space between "local" and "user"). Or you may be looking for %localappdata% or %userprofile%, in which case you should Google "localappdata" or "userprofile" (without the percents - and without the quotes - and no space). Regards, Joe
0
 
flubbsterCommented:
You need to create the specific Environment Variables that you want. There are many that are pre-made and available for use. You can see which ones you can use immediately by right-clicking on My Computer and selecting Properties. Click on the Advanced Tab and then click on Environment Variables at the bottom.

In the box labeled System Variables are the ones that already exist and what they do. Using any of those with a "%" before and after immediately executes that variable. They can be used to open an App, go to a web page, go to a folder, Open a file,k etc.

Look here for more info:
http://helpdeskgeek.com/how-to/create-custom-environment-variables-in-windows-7/

They are very handy especially to navigate to a specific folder that you might open often or to open a much used app.
0
 
n2fcCommented:
In WINDOWS 7 you can use %USERPROFILE% in the address bar of WINDOWS EXPLORER to get to your directory....

Example:   to get to your TEMP directory, you can enter into the address bar:
%USERPROFILE%\appdata\local\temp

Note: This is the same as using: %LOCALAPPDATA%\temp

The variable %USERPROFILE% will translate to your USER directory...

To see ALL of these variables, open a COMMAND PROMPT window (cmd.exe) and enter the command:
SET
0
 
JeffBeallAuthor Commented:
there you go! Environment Variable ! I couldn't think of what it is called.
again, sorry for the horrible explaination - but we got to the right place in the end.

Thank you for the help.
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now