Strip bytes from within a file Log Out | Topics | Search
Moderators | Edit Profile

X-Ways Support Forum » Advanced Features » Strip bytes from within a file « Previous Next »

Author Message
Top of pagePrevious messageNext messageBottom of page Link to this message

steve35
Username: steve35

Registered: N/A
Posted on Monday, Dec 3, 2007 - 22:28:   

Is it possible to read a file and strip bytes as it
writes back to another file with winhex?
I have a 250 gb drive image file ( but at this point it
only matters that it is a file )
I need to read 520 bytes ,then write back 512 bytes to new file , then continue this process to the end of the file,discarding 8 bytes for every 520 read..

Can this be done with winhex?

Thanks in advance
Top of pagePrevious messageNext messageBottom of page Link to this message

Stefan Fleischmann
Username: admin

Registered: 1-2001
Posted on Monday, Dec 3, 2007 - 22:49:   

Yes, with a script that employs the commands

Read
Write
NextObj

in a "{}[...]" loop and runs after having opened both files.

Add Your Message Here
Post:
Username: Posting Information:
Only registered users may post messages here, i.e. you need to have an account.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action:
Forum operated by X-Ways Software Technology AG.