Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to write in a ini file

Status
Not open for further replies.

bongo21

Programmer
Dec 12, 2006
1
BE
Hi i want my tcl script to append a ini file
can somebody give me a hint how to do that?
 
set fid [open <your ini file> a]
seek $fid 0 end
puts $fid <whatever you want>
close $fid

_________________
Bob Rashkin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top