Drag and drop go together like Copy and Paste and today I want to show you a quick trick that could save you a few keystrokes.
Let’s say you’re working on a project and you need to change to the directory of a deeply nested folder.
You know what I mean: it’s one of those things where the folder is six or seven levels deep and you don’t feel like typing the full path.
You can either CD your way to your goal or tab complete to the finish line; however, if you have the destination folder open in Windows Explorer there’s an easier, slightly more clever, solution:
Drag and drop.
Drag and drop is like…
- Boom and box
- Bert and Ernie
- Batman and Robin
- Homer and Marge
- Simon and Garfunkel
- Open and Close
- Rachel and Ross
- Adam and Eve
- Rock and Roll!
And that’s what you’re about to do today: rock and roll baby.
Simply drag the destination folder from the Explorer window and drop it into the command prompt screen and watch the magic unfold before your eyes: the text auto completes the full path for you.
This can save you from doing the copy and paste tango.
This is a pretty cool trick but I should tell you that it doesn’t work in an elevated command prompt.
I actually have no idea why you can’t do this when you open the command prompt as an Administrator. I mean, Administrators are probably the people who would benefit the most from this trick so the fact that Microsoft doesn’t make it available to us is a bit nettlesome.
Ahh, but I should quit complaining because that won’t do me any good.
I call this little drag and drop trick Drop complete because the drop event automatically completes the full folder path.