Why can't I use punctuation in a file name?
MLStrand56 complained to the Windows forum about Windows' inability to save file names containing punctuation.
PC World - MLStrand56 complained to theA WindowsA forum about Windows' inability to save file names containing punctuation.
Actually, the problem isn't anywhere near as serious as some might think. Of the 32 punctuation characters available on your keyboard, all but nine can be used in file names.
The nine that can't are:
On the other hand, if you use Microsoft Word, you might think that all punctuation is blocked. Here's why:
When you save a new file in Word, the program brings up the Save As dialog box, and inserts the document's opening text as a likely file name. But Word truncates that text at the very first punctuation mark it finds. In other words, if your document starts with the titleA Pilgrim's Progress,A Word will suggest you save the file asA Pilgrim. But you don't have to accept that. You can type or paste in the full name, with the apostrophe, and save the file.
But you still can't save a file with one of those nine characters. Why?
Windows, like DOS before it, uses these symbols for searches, command-line instructions, and the paths that define file locations. For instance, I'm currently writing in a file calledA November Answer Line.docx,A inside myA 1211A folder, which is inside myA DropboxA folder, insideA Documents, insideA Lincoln, on my D: drive. The file's full path, including the name, isA D:\Lincoln\Documents\Dropbox\1211\November Answer Line.docx.
If I could rename the fileA November\Answer:Line.docx, Windows wouldn't know ifA NovemberA was a folder or part of the file name. To avoid that confusion, the OS simply bans the backslash (\) from file names.
Frankly, I wish Microsoft was stricter about this sort of thing, and didn't allow us to use periods (.) in file names.
In every file name, a period separates the name, which tells you what's in the file, from the extension, which tells Windows what type of file it is. Since Windows, by default, hides extensions, an extra period in the file name can make one type of file look like another.
Malware developers like that trick. As recently asA September, the TrojanA Troj/Backdr-HGA spread with the help of a file called Microsoft-Services-Agreement.pdf.exe, which looked to many users like Microsoft-Services-Agreement.pdf.
People thought they were opening a .pdf, when they were really launching a program.
Read the originalA forum discussion.
- Workload Change: The 70 Percent of Your Business DevOps Forgot Adding WLA early in the development process ensures that the benefits of DevOps accrue for all applications, including your batch services. This paper...
- Ponemon 2014 SSH Security Vulnerability Report According to research by the Ponemon Institute, 3 out of 4 enterprises have no security controls in place for SSH which leaves organizations...
- QA Automation: Reducing Test Execution While Improving Coverage A leading capital investment firm in the US was in need of a comprehensive, cost effective and flexible solution to reduce their existing...
- Turning Insight Into Action: Social Media Intelligence The amount of data produced on social media is staggering - and so is the potential business value for enterprises that know what...
- Top 4 Digital Signage Fails Join RMG Networks for a look at four of the most common reasons digital signage fails in corporate businesses. Learn about strategies to...
- Protecting Critical SaaS Data Before It's Too Late In this webinar, you'll hear how to avoid SaaS data loss through best practices from a panel of experts. All Operating Systems White Papers | Webcasts