Re: Re: Problems with exec() on windows

From: Date: Fri, 20 Mar 2009 15:04:16 +0000
Subject: Re: Re: Problems with exec() on windows
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-290370@lists.php.net to get a copy of this message
Kyohere Luke wrote: > You might have something there - never really thought about how windows > forms the 8.3 names... & not many resources online about it ... > > The actual path is "c:\Program File\Gammu 1.23.91\bin\gammu.exe" > I'd used "c:\Progra~1\Gammu~1\bin\gammu.exe" You take the first 6 characters (ignoring spaces) and then add a tilde ~ and a number. The number will increment for another directory alphabetically after the one with the 1 if it reduces to the same 6 characters and so on. Yours would most likely be: c:\Progra~1\Gammu1~1\bin\gammu.exe Unless some other directory is alphabetically before one of those and reduces to the same 6 characters. For example if you have a c:\Program or a c:\Program File\Gammu 1.111 I'm pretty sure the dir command will show you the 8.3 name. -- Thanks! -Shawn http://www.spidean.com

« previous php.general (#290370) next »