4cade/bin/extract.js
Peter Ferrie d3383a78cf sync
2019-01-09 18:51:12 -08:00

9 lines
332 B
JavaScript

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)
}
}