Complete List of forbidden file and folder names for windows -
on windows file names com1.txt or lpt1.txt forbidden. there list of forbidden file , folder names on windows (or forbidden chars in file , folder names :? ...)
the list of invalid characters is:
- < (less than)
- > (greater than)
- : (colon)
- " (double quote)
- / (forward slash)
- \ (backslash)
- | (vertical bar or pipe)
- ? (question mark)
- * (asterisk)
plus characters 1 31
but should use system.io.path.getinvalidfilenamechars
, system.io.path.getinvalidpathchars
(or equivalents) recommended flipscript a) it's neater , b) means if list ever changes won't have modify application.
Comments
Post a Comment