Ask Your Question
3

How can a Tcl file be executed from a batch file?

asked 2021-04-19 11:00:00 +0000

djk gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2023-02-07 03:00:00 +0000

scrum gravatar image

To execute a Tcl file from a batch file, you can use the command "tclsh" followed by the path of the Tcl file. For example, if the Tcl file is located in "C:\Scripts\test.tcl", the command in the batch file would be:

tclsh C:\Scripts\test.tcl

You can also use the full path to the tclsh executable if it is not included in the system path. For example, if Tcl is installed in "C:\Tcl", the command would be:

C:\Tcl\bin\tclsh.exe C:\Scripts\test.tcl

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2021-04-19 11:00:00 +0000

Seen: 7 times

Last updated: Feb 07 '23