| Author |
Message |
   
Wayne Plumtree (Wayne384)
| | Posted on Friday, Dec 27, 2002 - 3:05: | |
Hi, I would like to be able to perform a hex search using a "not" filter. For example I would like to search the last part of a drive that has been formated with hex "00" to determine if there is any data, other than hex "00" present. Thanks Wayne |
   
Stefan Fleischmann (Admin)
| | Posted on Friday, Dec 27, 2002 - 11:27: | |
Currently not possible, but on the wish list already. |
   
Mike Montgomery (Mikem22)
| | Posted on Thursday, Jan 2, 2003 - 19:44: | |
In the Meantime You could try Assign MyVariable "0000000" ... //512 times { Read Sector 512 ifequal Sector MyVariable // Return an Empty sector else // or NOT // Return is something different // Do your stuff endif } |
   
Stefan Fleischmann (Admin)
| | Posted on Thursday, Jan 2, 2003 - 20:16: | |
So far, "Assign" only allows an integer number as the second parameter. WinHex 10.65 will also support hex ASCII (0x00000000) and ASCII text ("My home is my castle"), but the maximum length allowed for a parameter is 255 characters. Longer variables would have to be created and appropriately filled using the Read command. |
   
Wayne Fillmer
Username: wayne
Registered: N/A
| | Posted on Friday, Nov 14, 2008 - 18:00: | |
I see the "not" filter question has been asked (and answered) long ago. I am now using WinHex 14.5. Has the "not" filter wish-list item been implemented in any form? |
   
Stefan Fleischmann
Username: admin
Registered: 1-2001
| | Posted on Monday, Nov 17, 2008 - 13:30: | |
Yes, in Search | Find Hex Values you could search for "!00" (prepend the hex value you are not looking for with an exclamation mark), and in Search | Simultaneous Search you can use GREP syntax, e.g. "[^\x00]". |