Top tech stories now available. See what’s trending today.
Subscription | Read Online Twitter Facebook Google+

Windows tip of the week

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.


Latest on Microsoft

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.

More TechRepublic stories

Microsoft still has work to do when it comes to malware security

Office Q&A: How to replace direct formats with styles in a Word document

Why the tech talent war is killing innovation in your business

Top 10 AI failures of 2016

Posts from ZDNet

Microsoft's real problem with mobile isn't (just) devices

Microsoft drops its Enterprise Advantage licensing program before it begins

Microsoft takes another shot at an AI chatbot with Zo

Windows 10 Creators Update: What's on tap for Spring 2017 for business users

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.)

Featured multimedia

Gallery: The 10 biggest business hacks of 2016

The IT workers of Star Wars

Today's recommended downloads

Its Time to Identify and Confront the Latest DC Security Challenges

(VMware)

Network Virtualization and Security with VMware NSX

(VMware)

VMWare: Redefining Networking with Network Virtualization

(VMware)

VMWare: Why Businesses Are Adopting Network Virtualization

(VMware)

Symantec: The Silver Lining Protecting Corporate Information In The Cloud

(Symantec)

A special feature from ZDNet and TechRepublic

How to implement AI and machine learning

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

Visit the Subscription Center to get other free newsletters, manage your account settings or to be removed from TechRepublic communications.

Unsubscribe | Send Feedback | FAQ | Advertise | Privacy Policy

© 2016 CBS Interactive, Inc. All rights reserved.

TechRepublic is a registered service mark of CBS Interactive, Inc.

TechRepublic

235 Second Street

San Francisco, CA 94105

U.S.A.