USB Image Tool 1.67

USB Image Tool 1.67 now detects the media insertion/removal for media for card readers and provides volume tags for the automatic file name suggestion. I also fixed a bug that sometimes showed Code: 0 as last Windows error code. On the technical side with this version I switched to VS2013 and .NET 4.0 (previous versions were still built with VS2010 and .NET 3.5). Minimum required OS is still Windows XP.

Tags:

9 Responses to “USB Image Tool 1.67”

  1. Andy Says:

    “added: show hardware id string (vendor & product id) & volume serial”

    Awesome! Thank you for adding the “Volume Serial” number. I was going to add this as a feature request.

    Great work!

  2. Andy Says:

    You know what would be some handy info? Adding an API to see if the device is Write Protected.

    BOOL _IsDeviceWriteProtected(UINT nDeviceID);

    Just another idea 🙂

  3. Rob & Lesley McCormick Says:

    Hi
    We have used USB Image Tool for a couple of years, and we thank you for a great program.

    After we updated to version 1.67 we have found that the program works properly in Windows 7 but will not work in Windows XP.

    Your advice would be appreciated.

    Regards

    Rob & Lesley McCormick

  4. Alex Says:

    @Andy: Thanks for your feedback. Please note, that using the usbit32.dll directly for your application requires my permission (please see license.txt – “Portions of this software are not be used in other projects without prior permission.”) and also the post on Version 1.60. I have opened the dll interface for three projects, but they have asked for my permission. If you have a project, you want to use the usbit32.dll for, please let me know.

  5. Alex Says:

    @Rob&Lesley: Thanks for reporting. Please check your forum post.

  6. Andy Says:

    @Alex I am just using it for a personal project… Nothing commercial or that will be distributed to anyone. I am using it to back up the hundreds of SD cards I have on hand.

    Anyway, I figured out how to do it without having to do too much work:

    DWORD dwFlags = 0;
    if(GetVolumeInformationW(szPath,NULL,0,NULL,NULL,&dwFlags,NULL,0)){
    return ((dwFlags&FILE_READ_ONLY_VOLUME)==FILE_READ_ONLY_VOLUME);
    }

    Also, whats the second DWORD in every Volume API? It looks like some sort of boolean value that’s always set to TRUE.

  7. Alex Says:

    @Andy: If it’s just for personal use, it’s ok for me. Please don’t distribute it. That would be definitively violating the license. One of the reasons is, that I don’t want to document or support the API itself. It’s not for public use. (second DWORD is be the volume number in all GetVolume calls, don’t know what specific function you are refering to).

  8. Paul Beswick Says:

    Hi Alex

    We’re thinking about adding useful links to our USB section, I wonder if you think this your USB Image Tool would be suitable.

    I’ve personally used a similar thing with a Ubuntu system some years ago.

  9. Alex Says:

    @Paul: If course you can add a link. Please use http://www.usbimagetool.com for that. PS: The command line tool is also used to fill multiple flash drives at once by adding the commands to a batch file.

Leave a Reply