Jan 27, 2008

Tip for redirect the command prompt to a folder of your choosing

As you probably know, when you open a Command Prompt, from the Start menu or by typing CMD in the Run dialog box, the Command Prompt window will always open in the C:\Documents and Settings\{yourname} folder. (Where {yourname} is the name of your user account.)

The reason for this is that by default Windows XP is programmed to start the Command Prompt in the folder designated by the %HOMEDRIVE%%HOMEPATH% environment variable, which in most cases translates into C:\Documents and Settings\{yourname}.

However, having the Command Prompt window open in the C:\Documents and Settings\{yourname} by default may not always be convenient. As such, you’re left to using the CD (Change Directory) command to manually navigate to the folder of your choice. Fortunately, you can reconfigure the Command Prompt shortcut to open in any folder that you want. Here’s how:

Right click on the Command Prompt shortcut on the Start menu and select Properties the command.

When you see the Shortcut tab, double-click the Start in text box to select %HOMEDRIVE%%HOMEPATH% environment variable.

Type the path to the folder in which you want the Command Prompt windows to open.

(If you need more flexibility when opening a Command Prompt window than this tip provides, you might be better served by downloading and installing the Open Command Window Here PowerToy from Microsoft.)

No comments:

Preview on Feedage: window-xp-service-pack-1-2-3 Add to My Yahoo! window xp service pack 1 2 3 Add to Google! window xp service pack 1 2 3 Add to AOL! window xp service pack 1 2 3 Add to MSN window xp service pack 1 2 3 Subscribe in NewsGator Online window xp service pack 1 2 3
Add to Netvibes window xp service pack 1 2 3 Subscribe in Pakeflakes window xp service pack 1 2 3 Subscribe in Bloglines window xp service pack 1 2 3 Add to Alesti RSS Reader window xp service pack 1 2 3 Add to RSS Web Reader window xp service pack 1 2 3 View with Feed Reader window xp service pack 1 2 3
Add to NewsBurst window xp service pack 1 2 3 Add to meta RSS window xp service pack 1 2 3 Add to Windows Live window xp service pack 1 2 3
Find Blogs in the Blog Directory Computers blogs Blog Review Software Free Classified Ads - FreeAdLists.com Software Blogs
Blog Submission
BlogsByCategory.com

BRDTracker Webfeed (RSS/ATOM/RDF) registered at http://www.feeds4all.com Software Blog
Blog Directory feeds2read