Author Topic: Dump file (file scanner)  (Read 979 times)

jimg

  • Member
  • ***
  • Posts: 274
Dump file (file scanner)
« on: September 06, 2017, 07:37:37 AM »
The following is a program I use to take a quick look at the contents of a file.  It will accept any file of any size that the ReadFile api can read.  It dumps a screen full of binary data to the screen in Hex or Decimal and/or Ascii.  I wrote it because the editor I was previously using had gotten bloated and slow and didn't have some options I wanted.  You can enter any binary string in the search option.  It will accept command line or drag and drop files.  There are still some warts and the ui could use some help but it is perfectly functional otherwise, and I need to move onto to some other project for awhile.   Full source is included.  Enjoy.

Original 9/6/17  121 dnlds
Updated 5/14/18
« Last Edit: May 15, 2018, 02:56:58 AM by jimg »

jj2007

  • Member
  • *****
  • Posts: 8606
  • Assembler is fun ;-)
    • MasmBasic
Re: Dump file (file scanner)
« Reply #1 on: September 06, 2017, 08:08:27 AM »
Works fine, Jim :t

And I don't see every day a 4,000 lines source here ;)

felipe

  • Member
  • ****
  • Posts: 895
  • Eagles are just great!
Re: Dump file (file scanner)
« Reply #2 on: September 06, 2017, 10:27:21 AM »
Jimg, i will see this work from you, soon as i can (i have been busy lately). But i already appreciate it. Thanks for sharing your work with us.
 :icon14:  :icon14:  :icon14:
Felipe.

felipe

  • Member
  • ****
  • Posts: 895
  • Eagles are just great!
Re: Dump file (file scanner)
« Reply #3 on: September 09, 2017, 03:31:15 AM »
Nice program. When i get time i will see the code.  :icon14:
Felipe.

jimg

  • Member
  • ***
  • Posts: 274
Re: Dump file (file scanner)
« Reply #4 on: May 15, 2018, 02:58:26 AM »
Very minor update above.  Added FILE_SHARE_WRITE so could dump file opened by another process.

Siekmanski

  • Member
  • *****
  • Posts: 1600
Re: Dump file (file scanner)
« Reply #5 on: May 15, 2018, 05:20:10 AM »
Thanks for sharing.
Creative coders use backward thinking techniques as their strategy.

jj2007

  • Member
  • *****
  • Posts: 8606
  • Assembler is fun ;-)
    • MasmBasic
Re: Dump file (file scanner)
« Reply #6 on: May 15, 2018, 06:05:30 AM »
Added FILE_SHARE_WRITE

Thanks for sharing.

Pun intended, I suppose?  ;)

zedd151

  • Member
  • ****
  • Posts: 847
Re: Dump file (file scanner)
« Reply #7 on: May 15, 2018, 06:22:49 AM »
Nice little program. I will add it to my collection of utilities.

I once thought of doing something similar, but as always I got sidetracked and forgot about it until I saw this today.
I'm not always the sharpest knife in the drawer, but I have my moments.  :P