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
8.0k 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
7.9k points
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.