最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
Script Encoder 语法
时间:2022-06-30 11:24:42 编辑:袖梨 来源:一聚教程网
Script Encoder Syntax
SCRENC [/s] [/f] [/xl] [/l defLanguage ] [/e defExtension] inputfile outputfile
Argument
Description
/s
Optional. Switch that specifies that the script encoder is to work silently; that is, produce no screen output. If omitted, the default is to provide verbose output.
/f
Optional. Specifies that the input file is to be overwritten by the output file. Note that this option destroys your original input source file. If omitted, the output file is not overwritten.
/xl
Optional. Specifies that the <@language> directive is not added at the top of .asp files. If omitted, the <@language> directive is added for all .asp files.
/l defLanguage
Optional. Specifies the default scripting language (JScript or VBScript) to use during encoding. Script blocks within the file being encoded that do not contain a language attribute are assumed to be of this specified language. If omitted, JScript is the default language for HTML pages and scriptlets, while VBScript is the default for ASP. For plain text files, the file extension (either .js or .vbs) determines the default scripting language.
/e defExtension
Optional. Associates the input file with a specific file type. Use this switch when the input file's extension doesn't make the file type obvious; that is, when the input file extension is not one of the recognized extensions, but the file content does fall into one of the recognized types. There is no default for this option. If a file with an unrecognized extension is encountered and this option is not specified, the script encoder fails for that unrecognized file. Recognized file extensions are .asa, .asp, .cdx, .htm, .html, .js, .sct, and .vbs.
inputfile
Required. The name of the input file to be encoded, including any necessary path information relative to the current directory.
outputfile
SCRENC [/s] [/f] [/xl] [/l defLanguage ] [/e defExtension] inputfile outputfile
Argument
Description
/s
Optional. Switch that specifies that the script encoder is to work silently; that is, produce no screen output. If omitted, the default is to provide verbose output.
/f
Optional. Specifies that the input file is to be overwritten by the output file. Note that this option destroys your original input source file. If omitted, the output file is not overwritten.
/xl
Optional. Specifies that the <@language> directive is not added at the top of .asp files. If omitted, the <@language> directive is added for all .asp files.
/l defLanguage
Optional. Specifies the default scripting language (JScript or VBScript) to use during encoding. Script blocks within the file being encoded that do not contain a language attribute are assumed to be of this specified language. If omitted, JScript is the default language for HTML pages and scriptlets, while VBScript is the default for ASP. For plain text files, the file extension (either .js or .vbs) determines the default scripting language.
/e defExtension
Optional. Associates the input file with a specific file type. Use this switch when the input file's extension doesn't make the file type obvious; that is, when the input file extension is not one of the recognized extensions, but the file content does fall into one of the recognized types. There is no default for this option. If a file with an unrecognized extension is encountered and this option is not specified, the script encoder fails for that unrecognized file. Recognized file extensions are .asa, .asp, .cdx, .htm, .html, .js, .sct, and .vbs.
inputfile
Required. The name of the input file to be encoded, including any necessary path information relative to the current directory.
outputfile
相关文章
- 《弓箭传说2》新手玩法介绍 01-16
- 《地下城与勇士:起源》断桥烟雨多买多送活动内容一览 01-16
- 《差不多高手》醉拳龙技能特点分享 01-16
- 《鬼谷八荒》毕方尾羽解除限制道具推荐 01-16
- 《地下城与勇士:起源》阿拉德首次迎新春活动内容一览 01-16
- 《差不多高手》情圣技能特点分享 01-16