On Wed, 10 Jul 2002 13:14:44 +0100, you wrote: >I've got an application that requires dos folder names (8.3 standard) as >input. > >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
You may have to drop down to C/C++ and ask the OS to lookup the short version of the path for you (GetShortPathName and GetShortPathNameW). But if you want to do it "by hand", Knowledge Base article Q142982 might be a place to start. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php