I don't know of a conversion routine that will do exactly what DOS does, 
but if you need to use 8.3 filenames and receive them as vfat32 
filenames then you could do a conversion yourself before using the name. 
As long as the conversion is 8.3 compliant it does not matter that your 
conversion routine ends up with a different name.

Having converted it, then use the name and you write out the 8.3 
filename, never the long one. Note the translation between the two in an 
array or db table.


BB wrote:

>I've got an application that requires dos folder names (8.3 standard) as
>I also have PHP, which quite happily can cope with both.
>Can someone help me write a function to translate full paths to dos paths

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to