RE: Command-line arguments with Root 2.21/08 under NT

From: Valery Fine (Faine) (fine@bnl.gov)
Date: Wed Mar 31 1999 - 19:23:06 MEST


  Hello, Jonathan

> I just downloaded and installed Root 2.21/08 on my WIndows NT box. Root now
> does not seem to process files specified on the command line. If I have a
> file called Hello.C that consists of a single line "{ printf("Hello,
> world!\n"); }" and I run root from the command line "root hello.C" nothing
> happens. If I type ".x hello.C" from inside root, it prints "Hello, world!"
> as expected.
> 
> Do others experience this problem or is it unique to my computer?

  I was enable to reprodcue your problem:
  
  E:\users\root>root.exe
 the current keyboard layout is 866
  *******************************************
  *                                         *
  *        W E L C O M E  to  R O O T       *
  *                                         *
  *   Version   2.21/08     21 March 1999   *
  *                                         *
  *  You are welcome to visit our Web site  *
  *          http://root.cern.ch            *
  *                                         *
  *******************************************

CINT/ROOT C/C++ Interpreter version 5.13.92, Mar 13 1999
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
root [0] { printf(" hello\n");}
 hello
(int)7
root [1]

  Can you check wether your system does defime %TMP% and %TEMP% variables

  for example could from the root session type:

  root[0].! set tmp
  root[0].! set temp

         Valery



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