O
Osiris
I have this .BAT file:
===========================
if "%1" == "sfx" (
cd xampp
)
if exist php\php.exe GOTO Normal
if not exist php\php.exe GOTO Abort
:Abort
echo Sorry ... cannot find php cli!
echo Must abort these process!
pause
GOTO END
:Normal
set PHP_BIN=php\php.exe
set CONFIG_PHP=install\install.php
%PHP_BIN% -n -d output_buffering=0 %CONFIG_PHP%
GOTO END
:END
pause
===================================
the BAT file is in C:\Program Files\xampp
the php.exe file is in C:\Program Files\xampp\php
When I click on the BAT file, the system cannot find the php.exe
program. but it is surely there.
I get the two echo's after :Abort.
What can be the cause of it ?
On another WinXPSP2 machine all is OK.
===========================
if "%1" == "sfx" (
cd xampp
)
if exist php\php.exe GOTO Normal
if not exist php\php.exe GOTO Abort
:Abort
echo Sorry ... cannot find php cli!
echo Must abort these process!
pause
GOTO END
:Normal
set PHP_BIN=php\php.exe
set CONFIG_PHP=install\install.php
%PHP_BIN% -n -d output_buffering=0 %CONFIG_PHP%
GOTO END
:END
pause
===================================
the BAT file is in C:\Program Files\xampp
the php.exe file is in C:\Program Files\xampp\php
When I click on the BAT file, the system cannot find the php.exe
program. but it is surely there.
I get the two echo's after :Abort.
What can be the cause of it ?
On another WinXPSP2 machine all is OK.