Did you know that you can drag and drop files and folders to the command prompt or terminal? It simply auto-completes the path, so you don’t have to type the full thing out or navigate to the right folder. This works in Windows or Mac, and maybe elsewhere.

And it couldn’t be simpler. Just drag and drop a file or folder onto the command prompt, and next thing you know you’ll see the full path. It’s probably more useful if you had typed in a command previously, like the “cd” command to change a folder to. But whatever.

This also works on Mac OS X exactly the same way. Drag, drop, done.

And there you go.

Did we need this extra screenshot? Of course not.

Profile Photo for Lowell Heddings Lowell Heddings
Lowell is the founder and CEO of How-To Geek. He’s been running the show since creating the site back in 2006. Over the last decade, Lowell has personally written more than 1000 articles which have been viewed by over 250 million people. Prior to starting How-To Geek, Lowell spent 15 years working in IT doing consulting, cybersecurity, database management, and programming work.
Read Full Bio »