On 5 Sep 2005 14:27:03 -0700, "Csaba Gabor" <(E-Mail Removed)> wrote:
>FTYPE PHPFile=IF DEFINED APPDATA ("c:\php.net\php.exe" "%1" %*) ELSE
>("c:\php.net\php-win.exe" "%1" %*)
Since this is running from a batch, there may be no need to use Ftype.
How about
:
Set PHP="c:\php.net\php-win.exe" "%1" %*
IF DEFINED APPDATA set PHP="c:\php.net\php.exe" "%1" %*
Then whereever necessary, simply use:
%PHP%
The script could even be simpler, but we'd need to know a little more
about what else is going on:
IF DEFINED APPDATA (c:\php.net\php.exe "%1" %*) else
(c:\php.net\php-win.exe "%1" %*)
Let us know.
Clay Calvert
(E-Mail Removed)
Replace "W" with "L"