Use Tab AutoComplete in a Command Prompt window
By Ed Bott
Sometimes you can't avoid the Windows Command Prompt. For jobs like setting granular permissions and taking ownership of files, for example, the Icacls and Takeown commands are unmatched. Even a prosaic task like changing the extension on a group of files is easy with the help of wildcards.
But here's a secret that even many command-line ninjas don't know: Tab AutoComplete.
This feature allows you to press Tab to enter the complete list of files and folders in the current location, one at a time, in alphabetical order. You can narrow the list of items by typing the first few letters of the file or folder name first. Thus, if you know the current directory contains a file called Battery-report.html, you can type start bat and then press Tab to automatically complete the partial word bat with the first matching filename. Press Tab again to go to the next matching file or folder and keep going until you find the right one. When you do, just press Enter to open it immediately.
You can also use Tab AutoComplete with a program name to open a file using a different program from the default. Type Notepad, for example, followed by a space, and then use Tab AutoComplete to find a file with the .html extension and view its source instead of opening it in a browser window.
Windows 10: Ten missing and highly anticipated features due in 2017 Take a look at the most significant changes due to hit Microsoft's evolving OS in the coming year. VMware NSX has brought about a massive tectonic shift never before seen in networking – just as VMware did for compute virtualization. NSX transforms the status quo of traditional networking, and unleashes the full potential of the SDDC. |
More TechRepublic stories | Survey: Harnessing IoT in the enterprise |
We want to know how Internet of Things (IoT) is being used to collect data, what benefits connected devices can bring, and how security factors in. If your company uses IoT-connected devices, please share your experiences on the topic. Take the survey, which will take about five minutes to complete, and you may be entered to win $100. (Please read the rules for this giveaway.) Gallery: The 10 biggest business hacks of 2016 The IT workers of Star Wars Today's recommended downloads | (VMware) (VMware) (VMware) (VMware) (Symantec) |
A special feature from ZDNet and TechRepublic | The next wave of IT innovation will be powered by artificial intelligence and machine learning. We look at the ways companies can take advantage of it and how to get started. Connect with TechRepublic |
|