4cade/bin/extract.js

9 lines
336 B
JavaScript
Raw Normal View History

2019-01-09 18:51:12 -08: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")
{
2019-07-19 21:07:47 -07:00
new ActiveXObject("WScript.Shell").run("cadius.exe EXTRACTVOLUME " + '"' + b.item() + '"' + " build/X/", 0)
2019-01-09 18:51:12 -08:00
}
}