4cade/bin/extract.js

9 lines
332 B
JavaScript
Raw Normal View History

2019-01-10 02:51:12 +00:00
a = new ActiveXObject("scripting.filesystemobject")
for (b = new Enumerator(a.GetFolder(WScript.Arguments(0)).files); !b.atEnd(); b.moveNext())
{
if (a.GetExtensionName(b.item()).toLowerCase() == "po")
{
new ActiveXObject("WScript.Shell").run("cadius EXTRACTVOLUME " + '"' + b.item() + '"' + " build/X/", 0)
}
}