4cade/bin/changebootloader.js

7 lines
272 B
JavaScript
Raw Normal View History

a = new ActiveXObject("scripting.filesystemobject")
b = a.opentextfile(WScript.Arguments(0))
b.skip(0x200)
2020-08-25 20:56:03 +00:00
d = b.read(a.getfile(WScript.Arguments(0)).size-0x200)
b.close()
2020-08-25 20:56:03 +00:00
b=a.createtextfile(WScript.Arguments(0), 1).write(a.opentextfile(WScript.Arguments(1)).read(512)+d)