Windows already prevents some characters in a file name:
But now the other system I am sending files to wants me to prevent a user from using other characters in a file name like: [blue][tt]& ‘ # { } % ~ ;[/tt] [/blue]
Checking for one character is easy, just do [tt]InStr()[/tt], but is there an easy way to check for a list of those characters in a file name?
I can write a simple Function and check each character one-by-one, but there could be an easier, better, (lazy?) way?
---- Andy
"Hmm...they have the internet on computers now"--Homer Simpson
But now the other system I am sending files to wants me to prevent a user from using other characters in a file name like: [blue][tt]& ‘ # { } % ~ ;[/tt] [/blue]
Checking for one character is easy, just do [tt]InStr()[/tt], but is there an easy way to check for a list of those characters in a file name?
I can write a simple Function and check each character one-by-one, but there could be an easier, better, (lazy?) way?
---- Andy
"Hmm...they have the internet on computers now"--Homer Simpson