Wednesday, 2 March 2016

Windows tip of the week: How to save time with environment variables

Top tech stories now available. See what’s trending today.
Subscription | Read Online Twitter Facebook Google+

Windows tip of the week

Save time and keystrokes with environment variables

By Ed Bott

If I tell you to open your user profile in File Explorer, you'll probably type its full path: C, colon, backslash, Users, backslash, followed by your user name. But there's a much faster way:

Type %userprofile% and press Enter.

Congratulations, you just saved a half-dozen keystrokes or so by using one of many useful environment variables in Windows. These are reserved names, enclosed between percent signs, that represent the current location of a specific system folder.

Here are a few other useful ones to know:

%localappdata% The hidden folder in your user profile where Windows apps store your data

%windir% The folder containing Windows system files; usually C:Windows

%public% A special user profile that contains folders for Documents, Downloads, Music, Pictures, and Videos, intended for sharing on a home network

%temp% or %tmp% The normally hidden folder where Windows and apps can store files necessary for one-time tasks

Some people write these variables using mixed case (%ProgramFiles%, for example) to make them easier to read. But they're not case sensitive, so skip the Shift key if you want.

Latest on Microsoft

How to access Safe Mode in Windows 10

Sooner or later, you'll probably need to boot Windows into Safe Mode--but in Windows 10, you can't rely on the good old F8 approach. Here's what to do instead.

More TechRepublic stories

Tape storage: The smart person's guide

Don't let these 6 systems compromise your security

AT&T goes to war with Google Fiber in Louisville: Why Ma Bell could win and what it would mean

Transition between IT projects like a triathlete

Posts from ZDNet

March madness? Going mobile one month with Microsoft-only tech

Microsoft unveils new Windows 10 threat protection service

Raspberry Pi 3 and Windows 10: Now Microsoft releases new IoT Core preview

Featured multimedia

Photos: Our 10 favorite stereotypical hacker stock photos

Today's recommended downloads

Build Intelligent Web and Mobile Apps

(Microsoft)

Whitepaper: Seven Ways to Reduce Waste and Accelerate Software Delivery

(IBM Corp.)

Big Data Analytics Infrastructure for Dummies

(IBM Power Systems)

In the Application Economy, DevOps Ignites your Digital Transformation

(CA Technologies)

How Dropbox Business helps IT reduce risk

(Dropbox)

A special feature from TechRepublic and ZDNet

VR and AR: The Business Reality

Virtual Reality and Augmented Reality are going to be useful for far more than just gaming. We explore the ways the technology will be used for training, marketing, product design, and much more.

TechRepublic newsletters

Get product reviews, tech news analysis, tips, and more in the following TechRepublic newsletters. Click the newsletter title below to subscribe.

Download

The mobile revolution

Download

10 Things

Download

Five Apps

Connect with TechRepublic

Visit the Subscription Center to get other free newsletters, manage your account settings or to be removed from TechRepublic communications.

The e-mail address for your subscription is habib2best@gmail.com.

Unsubscribe | Send Feedback | FAQ | Advertise | Privacy Policy

© 2016 CBS Interactive, Inc. All rights reserved.

TechRepublic is a registered service mark of CBS Interactive, Inc.

TechRepublic

235 Second Street

San Francisco, CA 94105

U.S.A.

No comments:

Post a Comment