RE: [PEAR] pear.bat sensitive to spaces on win32

From: Date: Wed, 18 Sep 2002 01:52:06 +0000
Subject: RE: [PEAR] pear.bat sensitive to spaces on win32
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-2333@lists.php.net to get a copy of this message
The pear.bat came with an absolute path set in the PHP_PATH variable of "c:\php" I believe. I got it installed in the directory I did by uncompressing it there. Here is my pear.bat currently (minus the comments): set PHP_PATH=..\php set PEAR_INSTALL_DIR=%PHP_PATH%\pear set PEAR_EXTENSION_DIR=%PHP_PATH%\extensions set PEAR_DOC_DIR=%PHP_PATH\pear\docs REM ------------------- set DIRECTORY_SEPARATOR=\ php.exe -q %PEAR_INSTALL_DIR%\scripts\pear.in %1 %2 %3 %4 %5 %6 %7 %8 %9 @ECHO ON It works except: 1)I have to move the files that it installs. 2)If I put in the absolute path and put back the %PHP_PATH in front of php.exe, then I get an error about PEAR not being able to find php.exe 3)It has to be run from the PHP directory. Rob Hutton Web Safe www.wsafe.com ********************************************************************** Introducing Symantec Client Security - Integrated Anti-Virus, Firewall, and Intrusion Detection for the Client. Learn more: http://enterprisesecurity.symantec.com/symes238.cfm?JID=2&PID=11624271 View our Symantec Client Security Demo: http://enterprisesecurity.symantec.com/symes238.cfm?JID=3&PID=11624271 Download the Symantec Client Security Fact Sheet: http://enterprisesecurity.symantec.com/symes238.cfm?JID=4&PID=11624271 Download the Symantec Client Security Brochure: http://enterprisesecurity.symantec.com/symes238.cfm?JID=5&PID=11624271 > -----Original Message----- > From: Pierre-Alain Joye [mailto:paj@pearfr.org] > Sent: Tuesday, September 17, 2002 8:27 PM > To: Rob Hutton > Cc: pear-general@lists.php.net > Subject: Re: [PEAR] pear.bat sensitive to spaces on win32 > > > On Tue, 17 Sep 2002 17:42:06 -0400 > "Rob Hutton" <rob.hutton@wsafe.com> wrote: > > > I have php installed under the "program files" directory and > pear behaves > > strangely. First, I had to remove the absolute path from > pear.bat to get > > pear running. > > How was the absolute path ? > > > Now everything that I install is put in c:\php\pear instead > > of d:\program files\php\pear where things are installed. > > How did you install pear there ? > > pa > >

« previous php.pear.general (#2333) next »