If the program you want to run is not in the system-specified directory, the DOS operating system typically uses a path in the automatic batch file to automatically find the program, while in Windows you can increase the application path in a more secret way, rather than by setting up automatic batch processing. This needs to be done by modifying the registry. For example, to "C:\Program Files\winrar\winrar." EXE file to increase the path.
Run Registry Editor to open this key value: [hkey_local_machine\ software\microsoft\windows\current Version\app Paths] (new if no such key is present), New key value entry winrar. EXE, modify the default key value entry (string value) as: "C:\Program Files\winrar\winrar. EXE ", new string value path, value" C:\Program Files\winrar ". When you are finished, enter Winrar directly in the Run command. EXE "or" Winrar "to start the program.
In Windows NT/2000/XP systems, you can also use variables to replace specific directories, such as "%programfiles%\winzip\ Winzip32.exe" instead of "C:\Program files\winzip\
Winzip32.exe ", this can achieve the goal of enhancing adaptability. You can also set new values and execute file paths for programs that already exist. Note that if the file path contains a long file name (that is, Dayu 8 English or 4 Chinese directories, file names), the entire path should be enclosed in double quotes, otherwise in earlier versions of Windows you will not be able to locate the file (in the latest Windows xp/2003 version system, Do not consider this restriction).