Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

Current script name?

 [1/1] from: jseq::mediaone::net at: 28-Jun-2001 11:17


I'd like to implement a self-altering script with embedded data (a la TclKit). Can I programmatically access the filename and path of the running script? I found what-dir, but what I really need is what-script. Also, my plan was to parse my script and write it back out. Is there a more elegant way to do this? Something like Perl's Inline::File module would be great. Thanks, John Sequeira [johnseq--pobox--com] http://www.pobox.com/~johnseq