4cade/bin/extract.js

9 lines
336 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")
{
2019-07-20 04:07:47 +00:00
new ActiveXObject("WScript.Shell").run("cadius.exe EXTRACTVOLUME " + '"' + b.item() + '"' + " build/X/", 0)
2019-01-10 02:51:12 +00:00
}
}