"file rename -- $path\[lindex $arg end].incomplete $path\[lindex $arg end]"
im almost sure if you place a \ before a [ in tcl, tcl will interpet the [ as part of the string and NOT as a command
since your using the same command twice there, why not simply
set what [lindex $arg end] ?
__________________
#iotools #ioftpd (both on efnet)
|