Re: [ROOT] InstallShield win9x/NT/2000 ROOTSYS/path code

From: Valeri Fine (Faine) (fine@bnl.gov)
Date: Thu Feb 15 2001 - 18:18:09 MET


> Hi Valery,
> 
> This doesn't help. Win95/98 doesn't recognize long names in *.bat files.
> Before I wrote my message I tried
> 
> PATH = C:\Progra~1\ROOT; %PATH%
> set ROOTSYS =  C:\Program Files\ROOT
 
> in the autoexec.bat with no success. 

Did you make sure the ROOTSYS was set really ?
Very often it has nothing to do with long/short names rather with
lack of the memory to hold the env. variables (see my previous 
message on remedy. I agree the quotation of PATH helps as well.

> I did not try root.bat solution but I am sceptical about it because of the same reason.
 
  I think it would take you about 1 min to make sure whether it works.
  Myself first did try that.

  Regards,
                Valeri

> Regards,
> Anton
> 
> ======================
> 
> I think the compromise solution for Win9x would be
> 
> PATH = C:\Progra~1\ROOT; %PATH%
> set ROOTSYS =  C:\Program Files\ROOT
> 
> This is what InstallShield can provide.
> 
>  Another compromise solution is to use the root.bat file to star root rather
> roo
> t.exe
> That root.bat may look as follows:
> 
> root.bat:
> 
> set rootsys=c:\Program file\root
> path=c:\progra~1\root;%path%
> command /k root_exe.exe %1 %2 %3 %4 %6 %7 %8 %9
> 
> http://www.smartquant.com
> 
> 
> 
> 



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:36 MET