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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to get path and name of my script

Status
Not open for further replies.

q099973

Technical User
May 23, 2001
5
0
0
DE
hallo,

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.

thanx
 
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top