Pergunta

I'm building a GUI which allows users to specify the name of a file. My GUI has to work on Windows, UNIX, and Mac so I've written a method which checks a filePath for validity. I used MSDN to find the restrictions on Windows file names so my method can check any path on a windows system. Does anyone have a list of file name restrictions on Mac and UNIX?

Foi útil?

Solução

The restrictions are related more to the file system than to the OS. Check out this page: http://en.wikipedia.org/wiki/Comparison_of_file_systems#Limits

Outras dicas

A good overview can be found here on Wikipedia

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top