[Expect] How to pass parameters to a file "test.tcl" from command line
by Suresh Sundararaman other posts by this author
Aug 16 2007 3:13PM messages near this date
view in the new Beta List Site
Re: [Expect] End-of-line conventions on Expect for Windows
|
Re: [Expect] [Activetcl] How to pass parameters to a file "test.tcl" fromcommand line
Hi All,
I have a script called "test.tcl". Here i want to pass one parameter which is a simple text
file. Like:
%tclsh test.tcl somefile.txt
The "somefile.txt" has got 3 values, one is IP address, another one is mode1 and last one is
mode2.
How can i write the piece of code to do this in "test.tcl" ?
Can anyone guide me across thru it ?
Rgds,
s.suresh
_________________________________________________________________
Want to look great? Get expert opinion on beauty and skin care.
http://content.msn.co.in/Lifestyle/AskExpert/Default01.htm
Thread:
Suresh Sundararaman
Tylik Dmitry-R49752
|