Jump to content
Macro Express Forums

Use Search Path Option?


jowensii

Recommended Posts

The Path in Windows is a list of directories (or folders) where a program can be located. When you type a command in the Run dialog, it first searches in the Current Directory (that's another topic) for that program. If it doesn't find it then it searches in all the directories specified in the Path. The Path is what allows you to type 'notepad.exe' in the Run dialog instead of 'c:\WINDOWS\SYSTEM32\notepad.exe'.

 

The 'Search Path' option in the commands tells Macro Express to search through the list of directories defined in the Path for the file you specified. This allows you to use something like 'InFile.txt' instead of 'c:\somepath\InFile.txt' if your file exists in a folder specified in your Path.

 

Here are two ways to view the Path:

1. In Control Panel

  • Open the Control Panel
  • Click on System
  • Click on the Advanced tab
  • Click on the Environment Variables button
  • Look for Path. You may need to highlight it and click Edit to view the entire path.

2. In the command prompt

  • Open the Command Prompt
  • Type 'set' followed by the ENTER key
  • The Path, along with other environment variables, will be displayed.

You may want to visit these web sites for more detailed explanation of the Path:

Microsoft Windows XP - Path

www.pcmag.com encyclopedia - DOS path name

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...