Developer on Alibaba Coud: Build your first app with APIs, SDKs, and tutorials on the Alibaba Cloud. Read more ＞
Script Encoder Syntax
Encode the script source code so that it is not easily viewed or modified by the user.
Screnc [/S] [f] [/XL] [/L deflanguage] [/e defextension] inputfile outputfile
Part of the Script encoder syntax is as follows:
Switch that specifies that the script encoder's working state is static, resulting in no screen output. If omitted, the default is to provide redundant output.
/f is optional. Specifies that the input file will be overwritten by the output file.
Note that this option destroys your original input source code. If omitted, the output file is not overwritten.
/XL is optional. Specifies that @language pseudo directives are not added to the. Top of ASP file. If omitted, @language instructions are added to all. ASP file.
/l Deflanguage Optional. Specifies the default scripting language to use during encoding (jscript® or VBScript). The script block in the encoded file, if it does not contain a language attribute, is considered written by the specified language.
As omitted, JScript is the default language for HTML pages and Script applet, and VBScript is the default language for dynamic Web pages. For normal text files, the default scripting language is determined by the file name extension (. js or. vbs).
/e Defextension Optional. Associates an input file with a specific file type. This switch is used when the input file extension does not clearly display the file type, that is, when the input file name extension is not a recognized extension, but the file content can be classified as an identifiable type. This option is not a saved value. If a file with an unrecognized extension is encountered and the option is not specified, the script encoder cannot process the unrecognized file. The recognizable file extensions are ASA, ASP, CDX, HTM, html, JS, SCT, and VBS.
Inputfile is required. The name of the file to be encoded, including any required path information relative to the current directory.
OutputFile is required. The name of the output file to generate, including any required path information relative to the current directory.
The following are four types of files that the scripting writer can handle:
Asp. This format consists of a text Dynamic Web page that contains valid HTML and embedded script blocks in the <SCRIPT> ... </SCRIPT> tag or <% ...%> tag. Applications that use this format include microsoft® Internet Information Services (IIS). The recognized file name extension has. asp,. Asa and. CDX.
Html. The format consists of a text file that contains valid HTML and embedded script blocks. Applications written using this script format include Microsoft Frontpage® microsoft® Visual interdev& #8482; And all virtual Web designers and browsers. The recognized file name extension has. htm and. html.
This article is an English version of an article which is originally in the Chinese language on aliyun.com and is provided for information purposes only. This website makes no representation or warranty of any kind, either expressed or implied, as to the accuracy, completeness ownership or
reliability of the article or any translations thereof. If you have any concerns or complaints relating to the article, please send an email, providing a detailed description of the concern or
complaint, to email@example.com. A staff member will contact you within 5 working days. Once verified, infringing content will be removed immediately.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
and provide relevant evidence. A staff member will contact you within 5 working days.