Binary files

Discussion in 'OT Technology' started by Daria, Jun 14, 2006.

  1. Daria

    Daria New Member

    Joined:
    May 15, 2006
    Messages:
    5,529
    Likes Received:
    0
    Location:
    Ottawa, Canada
    Question: How can I alter a binary file?

    I know binary, but I've never worked with a binary file before. A situation has come up at work and I'm wondering, if I get access to a binary file, if I will be able to alter it. I was thinking of altering the file in notepad, but I'm not even sure if this is possible. I'm using Windows 2000.
     
  2. SLED

    SLED build an idiot proof device and someone else will

    Joined:
    Sep 20, 2001
    Messages:
    28,118
    Likes Received:
    0
    Location:
    AZ, like a bauce!
    find a good hex editor. Notepad is for ASCII.
     
  3. Daria

    Daria New Member

    Joined:
    May 15, 2006
    Messages:
    5,529
    Likes Received:
    0
    Location:
    Ottawa, Canada
    Ok good to know. Thank you.
     
  4. deusexaethera

    deusexaethera OT Supporter

    Joined:
    Jan 27, 2005
    Messages:
    19,712
    Likes Received:
    0
    There are plenty on download.com. I prefer HHD Hex Editor, myself.
     
  5. 5Gen_Prelude

    5Gen_Prelude There might not be an "I" in the word "Team", but

    Joined:
    Mar 14, 2000
    Messages:
    14,519
    Likes Received:
    1
    Location:
    Vancouver, BC, CANADA
    Sure - you might completely destroy it in the process, but sure.
     
  6. deusexaethera

    deusexaethera OT Supporter

    Joined:
    Jan 27, 2005
    Messages:
    19,712
    Likes Received:
    0
    If you do this, remember to edit the file using the hexadecimal numbers that are displayed off to the side of the actual file contents, instead of editing the file contents directly. I made this mistake once editing a DLL file...I replaced empty characters with periods in the file contents, not realizing until too late that the file editor I was using substituted periods for empty characters ONLY FOR DISPLAY PURPOSES. The computer wouldn't boot up until I correctly entered "00" (the hexadecimal number for an empty character) in a spare copy of the DLL file that I had wisely saved to a floppy disk.
     

Share This Page