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
> **************************************************************************
>
> Hi all,
>
> It's actually rather easy.
>
> <?php
> $str_test = passthru("dir /x c:\\myfolder\\");
>
>>?
>
>
> 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: Wednesday, July 10, 2002 2:15 PM
>>To: [EMAIL PROTECTED]
>>Subject: [PHP] Dos Paths
>>
>>
>>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
>>
>>
>>
>>--
>>PHP General Mailing List (http://www.php.net/)
>>To unsubscribe, visit: http://www.php.net/unsub.php
>>
>
>
--
----------------------------
Work: [EMAIL PROTECTED]
Home: [EMAIL PROTECTED]
Web: www.curvedvision.com
----------------------------
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php