
API to test for valid filename?
Mike,
Quote:
>Is there an API function to determine if a string would make a valid file name?
How about trying to create it (or open it if it exists) using
CreateFile? If the string contains an invalid filename, CreateFile
will surely fail.
Mattias
____________________________________________
http://hem.spray.se/mattias.sjogren/