If you’re like most people, you probably use a command line to manage your files and folders. But what if you want to auto-complete commands on the command line? That’s easy! Just drag and drop files and folders onto the command line, and they’ll be auto-completed. Here’s how:
- Open a new window or tab and type “cmd” into the address bar.
- The cmd prompt will appear, and you can type in any of the following commands to auto-complete: “copy”, “paste”, “xcopy”, or “cp”.
- If you want to continue completing commands on the command line after typing in a file or folder name, just press Enter after each one. The cmd prompt will automatically close when it finishes completing those commands.
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.