Work

Quickly Copy File Paths To Your Command Prompt Via Drag And Drop

Windows/Mac/Linux: If you spend much time at a command/shell prompt, you’re probably very comfortable navigating from one folder to the next — but rather than manually typing through folders to find a file buried in your filesystem, just drag and drop instead.

Next time you want to change directories (cd to a folder deep in your filesystem but you’re looking directly at that folder on your desktop, for example, just type in cd, then drag and drop that folder into your command prompt, and voilà. The simple drag-and-drop trick does the job any time you want the path to a file or folder without a lot of hassle.

This isn’t a new feature by any means. You’ve long been able to drag and drop a file to the terminal in OS X and Linux, and weblog Addictive Tips reminds us (and the How-To Geek explains) that this functionality was also available in XP, broken in Vista and now back in Windows 7. So even though it’s an oldie, if you spend much time at your operating system’s command prompt and haven’t used this one, it’s extremely handy.

Got a favourite terminal navigation shortcut of your own? Let’s hear it in the comments.

Windows 7 Command Prompt Supports Drag & Drop [Addictive Tips]

Comments (AU Comments | US Comments)

    There are currently no AU comments for this post.

Post Your Comments

Got something to say? There are two ways to comment:

1. Guests

Click here to comment instantly.

2. Facebook Users

Click below to comment using your Facebook account.

We're looking for comments that are interesting, substantial or highly amusing. If your comments are excessively self-promotional, obnoxious, or even worse, boring, you will be banned from commenting. All comments are moderated.