Windows does not allow certain characters to be included in the name of a file or a folder by default and for this reason, these characters can be termed as illegal characters in the name of a file or a folder. Example of such characters include the exclamation mark, the at (@) symbol, colon, inverted commas, forward slash, backslash etc.