RE: [PHP] Dos Paths

From: Date: Wed, 10 Jul 2002 14:09:08 +0000
Subject: RE: [PHP] Dos Paths
Groups: php.general 
Request: Send a blank email to php-general+get-106803@lists.php.net to get a copy of this message
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:ben@themidwestgroup.com] > Sent: Wednesday, July 10, 2002 2:15 PM > To: php-general@lists.php.net > 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 >

« previous php.general (#106803) next »