u need to have
1.activestate tcl (preferably >8.5)
which I believe you already do
write your script and save it as a .tcl file
go to the directory where your script is stored in the command prompt
C:\usr\bin\path to your script>tclsh scriptname.tcl
this will execute your script
P.S. tclsh is a command line interpreter that executes tcl code.