Need a script Log Out | Topics | Search
Moderators | Edit Profile

X-Ways Support Forum » Advanced Features » Need a script « Previous Next »

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

Rick Balboa (Bosx2)
Posted on Saturday, Oct 15, 2005 - 23:37:   

Hi,

I need a script, it has to be like that:
skip 32 Byte, delete the next 32 byte, skip 32 byte, delete the next 32 byte and that endless until the file is done

is that possible?
Top of pagePrevious messageNext messageBottom of page Link to this message

Stefan Fleischmann (Admin)
Posted on Sunday, Oct 16, 2005 - 3:08:   

Yes, possible with a professional or higher license for WinHex.
Top of pagePrevious messageNext messageBottom of page Link to this message

Rick Balboa (Bosx2)
Posted on Sunday, Oct 16, 2005 - 3:58:   

Hi,

thanks for the fast answer. Could you please publish the script here or explain how to write it on my own?

I dont own WinHex yet but on my work there is someone who owns it and he would run WinHex throu it for me, because I have a bunch of broken files which are corrupted now by a conversion and by removing the "bad" 32 bytes I can recover these files.

thanks
Top of pagePrevious messageNext messageBottom of page Link to this message

Stefan Fleischmann (Admin)
Posted on Sunday, Oct 16, 2005 - 4:04:   

Just let me know who that registered co-worker of yours is, and I will send him the script right away.
Top of pagePrevious messageNext messageBottom of page Link to this message

Rick Balboa (Bosx2)
Posted on Sunday, Oct 16, 2005 - 16:06:   

the person is Rainer Doubrawa, but dont know if he bought it in the name of the firm or on himselfs name.
Top of pagePrevious messageNext messageBottom of page Link to this message

Stefan Fleischmann (Admin)
Posted on Sunday, Oct 16, 2005 - 16:14:   

Well, I just checked, we don't have his name on file. Please understand that we specially support only registered legitimate users and customers.
Top of pagePrevious messageNext messageBottom of page Link to this message

ZhangYu (Sjhf)
Posted on Monday, Oct 17, 2005 - 20:38:   

Hope everyone support the WINHEX.
Let me try it,and please point out mistakes so that it can be corrected,thanks:
//**********START*************//
closeall
open test.file
Assign MyVariableA 0
Assign MyVariableB 0

closeall
open e:\test.file
Assign MyInc 0
Assign MyVA 0

{
Assign tempV GetSize
IfGreater (MyVa+1) tempV
ExitLoop
Endif

block MyVA (MyVA+1)
remove
Assign MyVA (MyVA+2)
IfEqual MyInc 65536
save
Assign MyInc 0
Endif
Inc MyInc
}[unlimited]
//***********END***********//
BTW,the efficiency is not high!

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.