Pear.exe is a project mainly written in C++, it's free.
In the Windows environment, pear command uses %SystemRoot%\pear.ini as a default configuration file. Since it is a system global file, pear.ini is corrupted when there are some installation of php/pear.
Once you put pear.exe at the same directory of pear.bat, each pear command use independent configuration file.
I carefully implements pear.exe not to depend on C Run-Time Libraries (CRT). Not depending on msvcrXXX.dll, it doesn't require any version of VC++ Redistributable Packages to be installed.
pear.exe just do two things below.
When you type "pear", pear.exe is executed prior to pear.bat because of %PATHEXT% setting.