链接:
https://helloacm.com/include-external-files-in-vbscriptjscript-wsh/
代码示例:
function Include(jsFile) { var fso, f, s; fso = new ActiveXObject("Scripting.FileSystemObject"); f = fso.OpenTextFile(jsFile); s = f.ReadAll(); f.Close(); return(s); } eval(Include("File.js"));