The path of a file or the path of a folder does not appear when you drag a file or a folder to a Command Prompt window in Windows Vista

Article translations Article translations
Article ID: 929457 - View products that this article applies to.
Expand all | Collapse all

SYMPTOMS

When you drag a file or a folder to a Command Prompt window in Windows Vista, the path of the file or the path of the folder does not appear in the Command Prompt window as expected.

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.

CAUSE

This issue occurs because of design changes that are intended to enhance security in Windows Vista.

WORKAROUND

To work around this issue, paste the path of the file or the path of the folder in the Command Prompt window. To do this, follow these steps:
  1. Start Windows Explorer, and then locate the file or the folder from which you want to copy the path.
  2. Press SHIFT, right-click the file or folder, and then click Copy as Path.
  3. 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.

MORE INFORMATION

To enable the Quick Edit mode for the Cmd.exe program, follow these steps:
  1. Click Start
    Collapse this imageExpand this image
    Start button
    , type cmd in the Start Search box, and then click cmd.exe in the Programs list.

    Collapse this imageExpand this image
     User Account Control permission
    If you are prompted for an administrator password or confirmation, type your password or click Continue.
  2. Press ALT+SPACE to open the shortcut menu for the Command Prompt window, and then click Properties.
  3. In the "drive:\Windows\system32\cmd.exe" Properties dialog box, click the Options tab.
  4. Click to select the Quick Edit Mode check box, and then click OK.

Properties

Article ID: 929457 - Last Review: March 15, 2007 - Revision: 1.6
APPLIES TO
  • Windows Vista Business
  • Windows Vista Enterprise
  • Windows Vista Home Basic
  • Windows Vista Home Premium
  • Windows Vista Ultimate
  • Windows Vista Enterprise 64-bit Edition
  • Windows Vista Home Basic 64-bit Edition
  • Windows Vista Home Premium 64-bit Edition
  • Windows Vista Ultimate 64-bit Edition
  • Windows Vista Starter
Keywords: 
kbexpertisebeginner kbtshoot kbprb kbenv KB929457

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com