I want to use the name and path of my script. how can i get it by tcl.
I don´t want to say "set name_of_this_script c:/programs/mytclprograms/test.tcl" because I often have to rename or replace my scripts.
Try using the 'info script' command. This will give yoyu the name of the script that is currently being processed.
Mike Suttles
Xerox OPBU Technology Development Group
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.