anti-m/bin/changebootloader.js
Peter Ferrie 332a42ff3c not .2mg
2019-04-12 08:21:26 -07:00

7 lines
272 B
JavaScript

a = new ActiveXObject("scripting.filesystemobject")
b = a.opentextfile(WScript.Arguments(0))
b.skip(0x200)
d = b.read(a.getfile(WScript.Arguments(0)).size-0x200)
b.close()
b=a.createtextfile(WScript.Arguments(0), 1).write(a.opentextfile(WScript.Arguments(1)).read(512)+d)