Author Topic: SlickEdit very basic question, hopefully existing feature  (Read 392 times)

IvanRohnson

  • New Community Member
  • Posts: 2
  • Hero Points: 0
SlickEdit very basic question, hopefully existing feature
« on: April 29, 2019, 01:56:21 pm »
HI all! I need to make something very simpl with many files! I need to get "specific bytes" from one file, and replace them to the same address on an another file:



So that the specified value on the 2nd file will become same as on the 1st file.
Can you tell me how I can do this easily with SlickEdit or any other hex editor software? Thank you in advance!

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 4964
  • Hero Points: 409
Re: SlickEdit very basic question, hopefully existing feature
« Reply #1 on: April 29, 2019, 02:21:20 pm »
Attached is a basic macro doing this. Hope this helps.  Load this macro with "Macro>Load module...".  Type "replace_bytes <file1> <file2>" on the slickEdit command line. You'll need to adjust the seek locations and number of bytes you want to replace.
« Last Edit: April 29, 2019, 02:23:51 pm by Clark »

IvanRohnson

  • New Community Member
  • Posts: 2
  • Hero Points: 0
Re: SlickEdit very basic question, hopefully existing feature
« Reply #2 on: April 30, 2019, 08:32:04 am »
Thank you, Mr. Clark, I will try this and I will report back if I have any trouble/problems!