Working With Path Variables in Windows XP

|
Rather Have Fast and Secure Remote
Control?
|
While XP will open files with an EXE extension from the run command without the need to explicitly provide the extension, the same is not true for all other extensions. However, you can control this by adding those extensions to a variable named PATHEXT. This system variable controls which extensions are tried when not supplied. One of our personal favorites is adding the MSC extension, which allows administrative consoles like the Services tool (services.msc) to be quickly opened from the Run command.
Similarly, the PATH variable controls the directories in which XP will search for a file when an extension is not provided. By default, the PATH variable will search three different directories, including C:\WINDOWS, C:\WINDOWS\system32, and C:\WINDOWS\system32\WBEM when a directory is not specified. By adding additional paths to this attribute, you can control which directories will be searched for the filename when a path is not specified. See the steps below for an overview of changing the PATH and PATHEXT variables on an XP system.
Step 1: Click Start, select Control Panel, and then click System. Click the Advanced tab, and the then click the Environment Variables button at the bottom of the screen. This will open the Environment Variables window shown in the background of Step 2.
Step 2: In the System variables section, click Path, and then click Edit. Place a semicolon after an entry (second, for example), and then type the full path to any additional directories you want searched. Click OK. Follow the same steps to add additional file extensions to the PATHEXT variable (for example, .MSC). Reboot once complete.
Step 3: To check whether your new PATH or PATHEXT variables are functioning correctly, attempt to open a file in the new path and with the new extension from the Run command. For example, type services at the Run command, and click OK. In this case, the Service.msc console should open automatically.
Written by Dan DiNicolo - Visit WebsiteNext post in Tweaking XP:
Working with User Variables in XP
Previous post in Tweaking XP:
Using Environment Variables to Change How XP Functions
All Tutorials by Category:
- CCDA Study Guide
- CCNA Study Guide Chapter 01
- CCNA Study Guide Chapter 02
- CCNA Study Guide Chapter 03
- CCNA Study Guide Chapter 04
- CCNA Study Guide Chapter 05
- CCNA Study Guide Chapter 06
- CCNA Study Guide Chapter 07
- CCNA Study Guide Chapter 08
- CCNA Study Guide Chapter 09
- CCNA Study Guide Chapter 10
- CCNA Study Guide Chapter 11
- CCNA Study Guide Chapter 12
- Cognos
- Computer Hardware
A
C
D
E
F
G
H
I
L
M
N
Entire site Copyright © 1999-2007 2000Trainers.com, all rights reserved.
Content on this site may not be copied or reproduced in any way without permission.


