a.createtextfile(WScript.Arguments(1)).write(";\r\n; Index record for "+WScript.Arguments(0).replace(/\\/,"/")+"\r\n;\r\n; This file is automatically generated\r\n;\r\n !byte 0\r\n !be24 "+" ".substr(0,9-offset.toString().length)+offset+"\r\n !le16 "+" ".substr(0,8-size.toString().length)+size+"\r\n")