Problem with W95 filename format

 I need to convert the W95 long file names to DOS format (f.example
test~1.txt).  How can I do that ? Are there any function in API to do that?

Sorry my bad English !!! ;-)
--
Saludos.

Oscar Ferrero
mailto:osc...@jet.es