Note If you perform the same action in Microsoft Windows XP, the path of the file or the path of the folder appears in the Command Prompt window.
- Start Windows Explorer, and then locate the file or the folder from which you want to copy the path.
- Press SHIFT, right-click the file or folder, and then click Copy as Path.
- Right-click anywhere in the Command Prompt window, and then click Paste. The path of the file or folder is pasted at the command prompt.
Note If you have the Quick Edit mode enabled for the Cmd.exe program, you do not have to click Paste. The path appears at the command prompt when you right-click anywhere in the Command Prompt window. For more information about how to enable the Quick Edit mode, see the "More Information" section.
- Click Start, type cmd in the Start Search box, and then click cmd.exe in the Programs list.
If you are prompted for an administrator password or confirmation, type your password or click Continue.
- Press ALT+SPACE to open the shortcut menu for the Command Prompt window, and then click Properties.
- In the "drive:\Windows\system32\cmd.exe" Properties dialog box, click the Options tab.
- Click to select the Quick Edit Mode check box, and then click OK.
Article ID: 929457 - Last Review: Oct 22, 2008 - Revision: 1