Registering TCL as a Wscript scripting engine

Posted by mmorris on 2016-05-24 03:25

I have ActiveTcl ( x_86_64) installed on a Windows 2012 server. When attempting to run a Tcl script via cscript, I get the following message:

C:\Tcl\bin>cscript //E:TclScript test.tcl
Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.

Cscript error: Can't find script engine "TclScript" for script "C:\Tcl\bin\testltcl".

Do I have to manually register Tcl as a Wscript engine? If so, how?

ActiveState Staff
Wed, 2016-05-25 10:50

The original ActiveScripting project was TclScript (and having a project started was enough for Msoft to mention that Tcl could be used as an ActiveScripting language)

Since TclScript relied on Tcom anyway, the work was brought into Tcom itself as of version 3.8.