mirror of https://github.com/a2-4am/4cade.git
pad with zeroes not spaces
This commit is contained in:
parent
bfac131207
commit
b98a4c55c8
|
@ -2,4 +2,4 @@ a = new ActiveXObject("scripting.filesystemobject")
|
|||
b = a.opentextfile(WScript.Arguments(1))
|
||||
c = b.readall()
|
||||
b.close()
|
||||
a.createtextfile(WScript.Arguments(1)).write(String(c + Array(512).join(" ")).substr(0, 512))
|
||||
a.createtextfile(WScript.Arguments(1)).write(String(c + Array(512).join(String.fromCharCode(0))).substr(0, 512))
|
||||
|
|
Loading…
Reference in New Issue