Re: seting global variables in NT

From: Valery Fine (fine@mail.cern.ch)
Date: Sat Oct 04 1997 - 00:16:11 MEST


On  3 Oct 97 at 15:25, Andy Haas wrote:


> Hi,
>     I'm just getting started with root and don't understand how to
>     set
> the ROOTSYS and PATH variables in WinNT so that I can run the
> tutorials. Thanks for your help in adavance, Andy.
> 

  You may

   1. Create a batch file like this:

      set ROOTSYS=c:\root
      path %rootsys%\bin;%path%
      root

      and then create shortcut for this file on your desktop
   
      - This way one creates environment  for only ROOT session

  2.  Start "Command prompt"
      Perform all above "by hand"

  3.   Select 
        "My Computer" with "Right mouse button" -> Properties -> 
        Environment ->

        Variable: ROOTSYS
        Value   :  c:\root

        Variable:  PATH
        Value:     %ROOTSYS%\bin;%PATH%

      - This way one registers ROOTSYS variable and change PATH with 
        his profile  and it affects all his application and sessions.

        Under the Administrative account one can set this for System 
        variables as well and this will affect ALL users of his 
        computer.

                 Hope this helps,
                                        Valery
Dr. Valeri Faine (Valery Fine)
    ------------ -------------   Phone: +41 22 767 4921
CERN                             FAX  : +41 22 767 7155
CH-1211 Geneva, 23               mailto:fine@mail.cern.ch 
Switzerland                      http://nicewww.cern.ch/~fine
                                 



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:26:21 MET