All Exams Test series for 1 year @ ₹349 only
Question

How can we locate a file with a known extension but an unknown name in a large directory?

The correct answer is

Using the Search box in File Explorer with *.ext

The problem is to find a file when you know its type (extension) but not its name, inside a large folder. The efficient tool for this is pattern matching with wildcards in the File Explorer Search box, using a query of the form *.ext.

Wildcards let a single query stand for many possible filenames:

  • The asterisk * matches any sequence of characters (including none).
  • So *.ext means "any filename, followed by a dot and the given extension" — matching every file of that type regardless of its name.

For example, typing *.pdf returns every PDF, and *.docx returns every Word document. You enter the pattern in the Search box at the top-right of File Explorer and press Enter; the search covers the current folder and its subfolders, which is ideal for a large directory tree.

Why the other approaches are weaker or wrong for this specific need:

  • The Recycle Bin only holds files that have already been deleted; a file you are still looking for normally is not there.
  • Using the dir command can list files, and dir does support wildcards, but as stated it is a bare command-line listing without the wildcard pattern that makes the search effective; it is also less convenient than a recursive graphical search over a large tree.
  • Through File Explorer generically (i.e., manually browsing folder by folder) is exactly the slow, error-prone approach the wildcard search is meant to replace when the name is unknown.

Hence entering *.ext in the File Explorer Search box is the correct and most efficient method.

Was this answer helpful?

Similar Questions

  1. Which of the following options must be DISABLED before manually setting the date and time in Windows?

  2. How can we locate a file with a known extension but an unknown name in a large directory?

  3. Which of the following options must be DISABLED before manually setting the date and time in Windows?

  4. How can we locate a file with a known extension but an unknown name in a large directory?

  5. Which of the following options must be DISABLED before manually setting the date and time in Windows?

  6. Which of the following options must be DISABLED before manually setting the date and time in Windows?

  7. How can we locate a file with a known extension but an unknown name in a large directory?


Important Questions from Operating Systems

  1. Windows 10 is

    A. an utility software

    B. a browser

    C. an application software

    D. an operating system
  2. What is ‘UBUNTU’?

  3. __________ provides an interface between a process and operating system to allow user-level processes to request services of the operating system.

  4. With__________, a page is written out to secondary memory only when it has been selected for replacement.

  5. Which of the following is NOT a type of system software?

Need Expert Advice?
Test Series
RRB JE img
Railways
RRB JE Prev. Yr. Paper (CBT 1 + CBT 2) Test Series
290 Tests 5 Tests Free
4502 Attempts
4.3(88)
English

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App