SUPPORT > CRT > SCRIPTING FAQ
Send us a question or comment

<< Previous
Next >>

What does "Invalid script header:..." mean?

CRT/SecureCRT 3.0 scripts require a header that identifies the script language and the interface version. The header should begin on the first line of the script file and each header line should contain the following two lines:

# $language = "language"
# $interface = "1.0"

Note, each header line must have a '#' character as the first character on the line. Header lines may also be empty lines that begin with '#' followed by whitespace and a carriage return.

You should substitute <language> with the name of the actual script language in which the script is written. For example a VBScript starts with this:

# $language = "VBScript"
# $interface = "1.0"

VBScript code here...

A JScript script starts with this header:

# $language = "JScript"
# $interface = "1.0"

// JScript code here...

<< Previous
Next >>

1.  Read or download one of our secure solutions white papers. 2.  Download a free
30-day evaluation copy of our products.
3.  Let us help define the right Secure Shell solution for your company. 4.  Subscribe to our monthly newsletter for tips, solutions ideas, and product news.