Page 1 of 1

Seeking information about Windows - Behaviour on different p

PostPosted: Fri Aug 27, 2004 6:54 am
by Gaev
Hi All:

In my current project, I have a need to permit the user to type the name of a file to be created ; in order to prevent Windows from popping up an error message, I want to catch invalid file names before calling Windows.

On my machine, if I enter an invalid character in Windows Explorer, I get this message ...

A filename cannot contain any of the following characters:
\ / : * ? " < > |


... so, what I would like to find out from fellow community members (with their myriad of platforms), is if this list is consistent across all versions/languages of Windows ; I would appreciate if others could respond to this post with their own experiences e.g.


Win/98 SE (Canadian English)
A filename cannot contain any of the following characters:
\ / : * ? " < > |


... hopefully, the collective results will make for a useful knowledgebase for everyone else too.


Thank you in advance for your anticipated participation.

Seeking information about Windows

PostPosted: Fri Aug 27, 2004 6:57 am
by Sam Cox
WIN2000 (English) does not allow \/:*?"<>| in filenames.

Seeking information about Windows

PostPosted: Fri Aug 27, 2004 7:08 am
by Wrangler
WinXp Pro - English returns \ / : * ? " < > |

I believe all versions of windows will return the same. This is a DOS entrapment and all windows are really just a shell for DOS.

(Edited by Wrangler at 7:10 am on Aug. 27, 2004)

Seeking information about Windows

PostPosted: Fri Aug 27, 2004 7:08 am
by HPW
Same on WIN2000 PRO(German) and WINXP PRO(German)

\/:*?"<>|

Seeking information about Windows

PostPosted: Fri Aug 27, 2004 3:46 pm
by Alberto Meyer
*********************************
all windows are really just a shell for DOS.
*********************************

Since WinMe, the things had changed too much about the quoted above. :)

All the best

Seeking information about Windows

PostPosted: Fri Aug 27, 2004 11:46 pm
by Scherzkeks
i have these symbols and words on my bannlist...
~ ` ! @ # $ % ^ & * ( ) _ - + =
{ [ } ] : ; " ' < , > . ? / \ |
com1
com2
nul
cheers

Seeking information about Windows

PostPosted: Sat Aug 28, 2004 4:40 am
by Alberto Meyer