Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm looking for a way to see all the bits of a file. I want to see all the 01s of my file, because I want to know what changes exactly happen when I edit a file using an closed-source application.

Sorry if this question sounds stupid, if so, tell me what have I to do.

Thank all the guys in adventure.

share|improve this question
4  
What are you exactly looking to do? You might find a hex editor useful. –  ChrisF Aug 20 '12 at 13:04
    
What operating system? –  Oliver Salzburg Aug 20 '12 at 13:11
    
What file system? NTFS has some extra-special bits, but most filesystems have attributes like "readonly". –  MSalters Aug 20 '12 at 14:12

1 Answer 1

up vote 4 down vote accepted

Use a hex editor like @ChrisF suggests. A good one for Windows is "HxD."

Please note that generally computers deal with multiples of 8 bits at a time unless interfacing directly with hardware (and most of the time even then). So looking at a file divided on those boundaries is usually better and more meaningful than just a raw stream of 0s and 1s.

Learn about hexadecimal and how it relates to binary first. It's really pretty simple (0 = 0000, 1 = 0001, 2 = 0010, ... 9 = 1001, A = 1010, B = 1011, C= 1100, D = 1101, E = 1110, F = 1111)

Also, comparing the files by hand is likely to be tedious. You'll probably need a tool like BinDiff, vbindiff, or similar.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.