Home » Questions » Computers [ Ask a new question ]

Dragging and dropping folders onto the command prompt in Windows Vista/Server 2008

Dragging and dropping folders onto the command prompt in Windows Vista/Server 2008

In Windows XP I'm very used to being able to drag a folder or file (from Windows Explorer) onto a command prompt and have it paste there the full path to that folder or file (including quotes if needed).

Asked by: Guest | Views: 47
Total answers/comments: 2
Guest [Entry]

"Somehow, this useful feature went away in Windows Vista and Windows Server 2008, but has come back in Windows 7.

A possible workaround is using Send To Toys,
which adds the ""Send To Command Prompt"" . It opens a CMD window, setting the current directory to the selected folder. If the selection was a file, the folder containing the file will be the active directory and the name of the file will be typed for you at the prompt. Hold down the CTRL key to change the active directory to a different folder. Hold down the SHIFT key to force the use of the COMMAND.COM regardless of the Windows version.

The only other solution is to hold shift when right-clicking on a file, which gets you the ""Copy as path"" option, which you can then paste into the command prompt.

EDIT
I found DropCommand which enables you to drag files easily into your Vista command prompt screen. I haven't tested it though."
Guest [Entry]

"It works fine for me, if it does not work for you, this is probably a UAC issue.

If you launch a regular command prompt, drag and drop works. The moment I elevate the command prompt, I loose this ability as explorer runs in a lower security context than the command prompt.

I have tried to elevate Explorer, but it does not seem to work and short of terminating explorer and relaunching as a admin process, I do not know of any other way around it. (and not sure that this would work)"