大家好下面的代码是什么意思,谢谢,初初学者!
// Get argument 参数 1 to m_strWorkFolderm_strWorkFolder = WScript.Arguments.Item(0);
if (m_strWorkFolder == ".") {
var WshShell = WScript.CreateObject("WScript.Shell");
m_strWorkFolder = WshShell.CurrentDirectory;
if (m_strWorkFolder.lastIndexOf("\\") != m_strWorkFolder.length - 1) {
m_strWorkFolder += "\\";
}
}
// Get argument 2 to strFileClass.
strFileList = WScript.Arguments.Item(1);
strFileType = strFileList.substring(strFileList.lastIndexOf("."), strFileList.length);
if (CONST_FILE_TYPE.indexOf(strFileType + ".") == -1) {
WScript.Echo(CONST_LIST_LEVEL_1 + L_SourceFileTypeNotValid_ErrorMessage);
WScript.