Multiple choice

To display files with at least 3 characters and B at 2nd location in there name, we use

  1. Dir ?B*.*

  2. Dir?B?.

  3. Dir*B*.*

  4. None of the above

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The pattern '?B?.' matches files with at least 3 characters where the second character is 'B'. The first '?' matches any single character at position 1, 'B' matches position 2, the second '?' ensures position 3 exists (making it at least 3 chars), and '*' matches any remaining characters.