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

source

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

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

html - Instapaper-like algorithm -

c# - How to execute a particular part of code asynchronously in a class -