135k views
5 votes
Why should characters such as / \ " ' * ; - ? [ ] ( ) ~ ! $ { } < > # @ & | space, tab, and newline be avoided in file names?

2 Answers

4 votes

There are special meanings with the characters such as / is used as a separator and \ for directories. If they are used in a file name, the operating system will be confused by them.


User Kvh
by
5.6k points
2 votes

those special characters may have different usages in different operating sys, like the \ is used for directory in Windows so they should be avoided in file names

User Joseadrian
by
5.2k points