The MASM Forum

Miscellaneous => Miscellaneous Projects => Topic started by: jimg on September 06, 2017, 07:37:37 AM

Title: Dump file (file scanner)
Post by: jimg 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
Title: Re: Dump file (file scanner)
Post by: jj2007 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 ;)
Title: Re: Dump file (file scanner)
Post by: felipe 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:
Title: Re: Dump file (file scanner)
Post by: felipe on September 09, 2017, 03:31:15 AM
Nice program. When i get time i will see the code.  :icon14:
Title: Re: Dump file (file scanner)
Post by: jimg on May 15, 2018, 02:58:26 AM
Very minor update above.  Added FILE_SHARE_WRITE so could dump file opened by another process.
Title: Re: Dump file (file scanner)
Post by: Siekmanski on May 15, 2018, 05:20:10 AM
Thanks for sharing.
Title: Re: Dump file (file scanner)
Post by: jj2007 on May 15, 2018, 06:05:30 AM
Added FILE_SHARE_WRITE

Thanks for sharing.

Pun intended, I suppose?  ;)
Title: Re: Dump file (file scanner)
Post by: 0000 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.