Re: Dos Paths
| From: | BB | Date: | Wed, 10 Jul 2002 12:35:50 +0000 |
| Subject: | Re: Dos Paths | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-106774@lists.php.net to get a copy of this message | ||
It doesn't matter how fast it does it. It matters what language it does it.
C and C++ are a big no no as our company doesn't have a compiler (winblows).
Thanks for the pointer
"David Otton" <david.otton@overnetdata.com> wrote in message
news:qs9oiugp9e2hl2k0qv6o1h9aloln99vg8s@4ax.com...
> 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.
>