For reasons, I want to limit filename characters to the set [A-Za-z0-9_-.] (upper & lowercase alphabet, numerals 0 to 9, underscore, hyphen, and period). No spaces, exclamatiuon points, @ signs, etc.
I know Windows prevents / : * ? ” < > |
I was hoping this info was stored in a Registry key, but 30 minutes of searching didn’t turn up anything useful. Even tried searching for the ASCII values of those chars; no joy.
Anyone know a way to do this?
BTW, I just realized how much faster it is to export the registry to a file and use a good editor (Notepad++ for instance) to search. WTF is regedit so slow??