vbscript - Reading few bytes from file and writing to text file using batch -


is possible make batch file or vbs read few bytes binary file , saves them file readable text? (eg read 4e 50 44 -> save npd)

exapmple file bin

[start of file]8bytes of rubbish 24 bytes need (readable text) rest of file[eof]

you can try frank's hex editor: https://groups.google.com/forum/?fromgroups=#!searchin/alt.msdos.batch.nt/hexeditor/alt.msdos.batch.nt/q84l84c2q8q/cjbkadikxfcj

with command cerutil -decodehex myfile myfile.hex can see file in hex , , process it.with encodehex can convert hex data text.


Comments

Popular posts from this blog

asp.net mvc 3 - Using mvc3, I need to add a username/password to the sql connection string at runtime -

kineticjs - draw multiple lines and delete individual line -

thumbnails - jQuery image rotate on hover -