Skip to content

MartinStettner/CommandLineDiskImager

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CommandLineDiskImager

A command line version of Win32DiskImager

Originally modified for use in PiBakery, CommandLineDiskImager is a command line version of the popular Win32DiskImager program used to write images to removable storage devices, such as SD cards and USB drives.

Currently only writing an image file to a device is supported, you can't read a device to a file just yet. MD5 checks have also not been implemented yet.

This fork provides a Visual Studio solution suitable for compiling with VisualStudio 2017 Community Edition. It also adds some minor adjustments (such as automatic UAC and error messages).

To use:

  1. Build the project using Visual Studio 2017
  2. cd into the directory that contains CommandLineDiskImager.exe
  3. Run CommandLineDiskImager.exe pathToImageFile driveLetter where pathToImageFile is the path to the image file you want to write, and driveLetter is the single letter of the drive that you want the image written to

Example:

CommandLineDiskImager.exe C:\Users\John\Downloads\raspbian.img G

would write the image file located C:\Users\John\Downloads\raspbian.img G to the drive G:

About

A command line version of Win32DiskImager

Resources

License

Stars

3 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors

Languages

  • C++ 100.0%