Re: [PHP] Dos Paths

2002-07-10 Thread Chris Earle
By Winblows does that mean you think Windows blows or that you guys don't have a compiler for Windows? Borland gives out a free C++ compiler for Win... If you're running Linux, then get gcc/g++, it's free. "Bb" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... >

Re: [PHP] Dos Paths

2002-07-10 Thread Neil Freeman
FYI - Works in Windows NT 4 SP 6a as well. [EMAIL PROTECTED] wrote: > ** > This Message Was Virus Checked With : SAVI 3.59 May 2002 > Last Updated 8th July 2002 > *

Re: [PHP] Dos Paths

2002-07-10 Thread Shane Wright
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi I have a problem that's somewhat related to this - I can get short filenames from the OS but I really need long filenames. Does anyone know how to do this? Thanks Shane On Wednesday 10 July 2002 1:14 pm, BB wrote: > I've got an application

RE: [PHP] Dos Paths

2002-07-10 Thread joakim . andersson
Hi all, It's actually rather easy. ? After this it's just a matter of parsing the dirlist and extracting the right string... Regards Joakim Andersson PS. dir /x works in Windows 2000, not sure about the others... DS. > -Original Message- > From: BB [mailto:[EMAIL PROTECTED]] > Sent:

Re: [PHP] Dos Paths

2002-07-10 Thread Danny Shepherd
Ah, that'll teach me to actually read the post next time, not just the code :) Danny. - Original Message - From: "Michael Sims" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 10, 2002 2:02 PM Subject: Re: [PHP] Dos Paths On Wed, 10 J

Re: [PHP] Dos Paths

2002-07-10 Thread Chris Hewitt
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 r

Re: [PHP] Dos Paths

2002-07-10 Thread Michael Sims
t's going to translate that into >MYDIRE~1 which won't work. > >HTH > >Danny. Yeah, I mentioned that in my original post (see below). I left that particular issue as an exercise for the reader. :-) >- Original Message - >From: "Michael Sims" <[EMA

Re: [PHP] Dos Paths

2002-07-10 Thread David Otton
On Wed, 10 Jul 2002 13:35:50 +0100, you wrote: >"David Otton" <[EMAIL PROTECTED]> wrote in message >[EMAIL PROTECTED]">news:[EMAIL PROTECTED]... >> 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

Re: [PHP] Dos Paths

2002-07-10 Thread Danny Shepherd
TH Danny. - Original Message - From: "Michael Sims" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 10, 2002 1:48 PM Subject: Re: [PHP] Dos Paths On Wed, 10 Jul 2002 13:14:44 +0100, you wrote: >I've got an application that requires dos folder

Re: [PHP] Dos Paths

2002-07-10 Thread Michael Sims
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 Also, go to groups.google.com

Re: [PHP] Dos Paths

2002-07-10 Thread Michael Sims
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 > >Thanks Maybe this can get y

Re: [PHP] Dos Paths

2002-07-10 Thread BB
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" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Wed, 10 Jul 2002 1

Re: [PHP] Dos Paths

2002-07-10 Thread David Otton
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