Problem with exec()

From: Date: Wed, 23 Aug 2000 15:40:17 +0000
Subject: Problem with exec()
Groups: php.windows 
Request: Send a blank email to php-windows+get-2073@lists.php.net to get a copy of this message
Hi, I am running php3 in WINNT and have a command in php3 like: exec("dir c:\",$arr,$ret); But it does not put anything in $arr. The exec is working because if I put: exec("dir c:\ > c:\test.txt",$arr,$ret); The file c:\test.txt is created correctly. Any ideas? Please reply directly to me since I do not belong to the mailing list. Thanks in advance, ........................................................................ Sebastiao Barata R&D - Server Altitude Software (formerly Easyphone) Sebastiao.Barata@altitudesoftware.com www.altitudesoftware.com + 351 217 20 50 00 main + 351 217 20 50 90 fax Av. dos Combatentes 43, 8 1600 Lisbon, PORTUGAL

« previous php.windows (#2073) next »