Question
Download Solution PDFWhich of the following characters is NOT allowed in a filename when renaming in Windows?
Answer (Detailed Solution Below)
Detailed Solution
Download Solution PDFThe correct answer is ? (question mark).
Key Points
- The question mark (?) is one of the characters prohibited in filenames in Windows operating systems.
- Other restricted characters include \ / : * ? " < > |, as these are reserved for system functions or file path navigation.
- Windows uses these special characters to perform certain operations, such as separating directories (/) or indicating a wildcard (*).
- If you attempt to include a restricted character while renaming a file, Windows will display an error message preventing the action.
- These restrictions are enforced to ensure compatibility and avoid conflicts within the file system.
Additional Information
- Filename Restrictions in Windows:
- Windows filenames cannot exceed 255 characters, including the file path.
- Filenames cannot end with a period (.) or a space ( ).
- Reserved names like CON, AUX, NUL, COM1 to COM9, and LPT1 to LPT9 are also prohibited.
- Wildcard Characters:
- Wildcards like * and ? are used to represent multiple or single characters in searches.
- Including these in filenames can interfere with file search or system commands.
- File Path Syntax:
- Windows uses \ as a directory separator, distinguishing file paths.
- Other characters like : are reserved for drives (e.g., C:\).
- Cross-Platform Compatibility:
- Some characters allowed in other operating systems (e.g., Linux) may still be prohibited in Windows.
- Developers often avoid restricted characters to ensure portability across platforms.
Last updated on Jul 19, 2025
-> RRB NTPC Under Graduate Exam Date 2025 has been released on the official website of the Railway Recruitment Board.
-> The RRB NTPC Admit Card will be released on its official website for RRB NTPC Under Graduate Exam 2025.
-> CSIR NET City Intimation Slip 2025 Out @csirnet.nta.ac.in
-> HSSC CET Admit Card 2025 has been released @hssc.gov.in
-> Candidates who will appear for the RRB NTPC Exam can check their RRB NTPC Time Table 2025 from here.
-> The RRB NTPC 2025 Notification released for a total of 11558 vacancies. A total of 3445 Vacancies have been announced for Undergraduate posts like Commercial Cum Ticket Clerk, Accounts Clerk Cum Typist, Junior Clerk cum Typist & Trains Clerk.
-> A total of 8114 vacancies are announced for Graduate-level posts in the Non-Technical Popular Categories (NTPC) such as Junior Clerk cum Typist, Accounts Clerk cum Typist, Station Master, etc.
-> Prepare for the exam using RRB NTPC Previous Year Papers.
-> Get detailed subject-wise UGC NET Exam Analysis 2025 and UGC NET Question Paper 2025 for shift 1 (25 June) here
->Bihar Police Driver Vacancy 2025 has been released @csbc.bihar.gov.in.