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?

This question was previously asked in
RRB JE 2026 CBT 1 Question Paper English (Nov 02, 2026) (Shift-1)
The correct answer is

Using the Search box in File Explorer with *.ext

The task is to find a file when you know its type (extension) but not its name, inside a large directory. The efficient tool for this is a wildcard search in the Windows File Explorer Search box using the pattern *.ext.

How wildcards work:

  • The asterisk * stands for any sequence of characters (including none) — so it matches any file name whatsoever.
  • Fixing the part after the dot restricts the match to one file type. Thus *.pdf returns every PDF, *.docx every Word document, and *.jpg every JPEG image, regardless of what the files are called.

You simply type the pattern into the search box at the top-right of File Explorer and press Enter; the search runs across the currently open folder and all of its subfolders, which is ideal for a large directory.

Why the other options are weaker: The dir command can list files and does accept wildcards, but it works only in Command Prompt on the current path and is far less convenient than a graphical recursive search — and the option as stated gives no pattern. Simply browsing through File Explorer manually means visually scanning possibly thousands of files, which is exactly the slow approach the wildcard search avoids. Checking the Recycle Bin is irrelevant — that only holds deleted files, not files still stored in the directory. The wildcard search with *.ext is the purpose-built solution.

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. Which of the following options best describes the main function of an operating system?
  2. Select the INCORRECT operating system used in computers and laptops.
  3. Which of these elements is NOT part of the standard Windows 7 desktop?
  4. Which of the following options is used to change the system settings in MS Windows?

  5. How can you resize a window using its corners or borders in Windows?
Need Expert Advice?
Test Series
RRB JE img
Railways
RRB JE (CBT 1 + CBT 2) 2026 Mock Test Series
1515 Tests 19 Tests Free
1835 Attempts
4.3(163)
English, Hindi

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