From: Matthew B. <mb...@ma...> - 2002-10-01 15:03:52
|
What characters should I dissalow (translate into spaces or _ characters)= ? So far, I've got the following rules set up: =09if ( *p =3D=3D '/' ) *p =3D '_'; =09if ( *p < ' ' ) *p =3D '_'; =09if ( *p > 165 ) *p =3D '_'; Where *p is each character of the filename. Also, for those interested (who is on this list besides me and Dave anywa= y?)=20 I'm almost done writing a very small and fast backup program... yeah. Sl= eep=20 is a poor substitute for caffine. --=20 Matthew (Darkstorm) Bevan mb...@ma... Margin Software, NECTI.=09=09http://www.marginsoftware.com =09Re-inventing the wheel, every time. - "I'd love to go out with you, but I have to floss my cat." |