You can use the @LANGUAGE directive to set the language that will be used to interpret the commands in a script. You can set your scripting language to any scripting engine that has been installed in IIS. The default scripting language is VBScript, so if you do not include a @LANGUAGE directive in your script, the script will be interpreted by the VBScript engine.


<%@ LANGUAGE=scriptengine %>


The script engine that should compile the script. IIS ships with two script engines, VBScript and JScript.


You can change the default scripting language with the IIS Admin Objects AspScriptLanguage property. You can apply this property to a Web Service, Web Server, Virtual Directory or Web Directory. For more information, see IIS Admin Objects.