arrow
arrow
arrow
Which of the following characters is NOT allowed in a filename when renaming in Windows?
Question

Which of the following characters is NOT allowed in a filename when renaming in Windows?

A.

- (hyphen)

B.

_ (underscore)

C.

? (ques on mark)

D.

# (hash)

Correct option is C

The correct answer is (c)? (question mark)

Explanation:

  • In Windows operating systems, certain characters are not permitted in filenames or folder names.
  • The question mark (?) is one such invalid character because it is reserved for system operations, especially for wildcard search patterns.

Information Booster:

  • Other not allowed characters in Windows filenames include:
    \ / : *? " < > |
  • Attempting to use these characters while renaming a file will result in an error message.
  • Windows filenames can include symbols like hyphen (-), underscore (_) and hash (#) without any issue.

Additional Information:

  • Option (a) Hyphen (-) – Allowed; often used to improve filename readability.
  • Option (b) Underscore (_) – Allowed; commonly used in programming and naming conventions.
  • Option (d) Hash (#) – Allowed in Windows filenames, though some older web-based systems may treat it differently.
  • Always use alphanumeric characters and safe symbols for compatibility and system stability.

Free Tests

Free
Must Attempt

CBT-1 Full Mock Test 1

languageIcon English
  • pdpQsnIcon100 Questions
  • pdpsheetsIcon100 Marks
  • timerIcon90 Mins
languageIcon English
Free
Must Attempt

RRB NTPC Graduate Level PYP (Held on 5 Jun 2025 S1)

languageIcon English
  • pdpQsnIcon100 Questions
  • pdpsheetsIcon100 Marks
  • timerIcon90 Mins
languageIcon English
Free
Must Attempt

CBT-1 General Awareness Section Test 1

languageIcon English
  • pdpQsnIcon40 Questions
  • pdpsheetsIcon30 Marks
  • timerIcon25 Mins
languageIcon English
test-prime-package

Access ‘RRB NTPC’ Mock Tests with

  • 60000+ Mocks and Previous Year Papers
  • Unlimited Re-Attempts
  • Personalised Report Card
  • 500% Refund on Final Selection
  • Largest Community
students-icon
354k+ students have already unlocked exclusive benefits with Test Prime!
Our Plans
Monthsup-arrow