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

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 ID : 929457
Last Review : March 15, 2007
Revision : 1.4

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.

Back to the top

CAUSE

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

Back to the top

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.

Back to the top

MORE INFORMATION

To enable the Quick Edit mode for the Cmd.exe program, follow these steps:

1. Click StartStart, type cmd in the Start Search box, and then click cmd.exe in the Programs list.

User 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.

Back to the top


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

Back to the top

Keywords: 
kbexpertisebeginner kbtshoot kbprb kbenv KB929457

Back to the top

 

Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
Microsoft Corporation. All rights reserved. Terms of Use | Trademarks


You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

AddThis Social Bookmark Button

Leave a Reply

*
To prove that you're not a bot, enter this code
Anti-Spam Image