Op woensdag 9 mei 2012 00:49:31 UTC+2 schreef Andreas Leitgeb het volgende:
> rick h wrote:
> > One last thought (question): why, using references, was the script initiated, but no parms passed?
>
> Probably, because the "open"-binding for extension .tcl specifies
> tclsh.exe(with correct path) but no parameters.
I have checked the association for .tcl files on my system:
assoc .tcl
.tcl=ActiveTclScript
Apparently the definition of "ActiveTclScript" is: c:\tcl86\bin\wish86.exe "%1" %*
(That is the information I get from the file manage I use. I have no clue as
to how to set that, but it is probably stored in the Windows registry)
The point is: with "%1" wish86 gets the file name, with %* it probably gets all
the other command-line parameters as well.
Regards,
Arjen