02 Jun 2008

Tip: Path Variable Expansion in Vista

 

I was just installing some beta bits and it required removing some files from my temp folder %temp%.

I didn't realize until this weekend that you could type a path variable, like %temp% into the Vista address bar and it will just work.

image

I never tried that in XP, but it probably works there as well.

Prior to discovering this, I used to hop out to a command prompt when I wanted to know what a variable resolved to. I used to do a lot of DOS programming way back, so when I think of path variables, I immediately think command prompt.

image

I know you can go into Control Panel, System Properties, Advanced, Environment variables, but that's a lot of clicking for something simple.

I've read that most folks only use something like 10% of the features in Microsoft Word. I suspect the operating system functions and shell niceties have a similar usage rate.

Share |
posted by Pete Brown on Monday, June 02, 2008
filed under:  

2 comments for “Tip: Path Variable Expansion in Vista”

  1. Michael C. Neelsays:
    That's very cool!

    I also love any "file browse..." dialog will take an http:// address... great for the websites that don't let you link to a photo, but want you to upload one instead. It looks like behind the scenes Vista downloads the file to temp, and uploads that copy.

    This is also handy to spell check a website I'm working on - just open the url in Word ;)
  2. Scott Saadsays:
    Great tip! (just verified that it works on XP as well).

Comment on this Post

Remember me

2 trackbacks for “Tip: Path Variable Expansion in Vista”

  1. Christopher Steensays:
    MSBuild DevSource Article: Automation with MSBuild [Via: Steve ] WPF The Missing .NET #4: Cue Banner...