Skip to content
This repository was archived by the owner on Jun 10, 2021. It is now read-only.

Releases: davidferguson/CommandLineDiskImager

Version 0.0.0.3

Choose a tag to compare

@davidferguson davidferguson released this 28 May 17:53

Change the program so that instead of printing out error messages using printf, error codes are returned instead.

This makes it easier for CommandLineDiskImager to be integrated with other programs/scripts as the error codes can be easily compared.

The error codes are as follows:

  • 0 - write successful
  • 1 - not enough arguments passed
  • 2 - .img file not found
  • 3 - device to write to not found
  • 4 - invalid handle value for volume
  • 5 - can't get lock on volume
  • 6 - can't unmount volume
  • 7 - invalid handle value for file
  • 8 - invalid handle value for disk
  • 9 - not enough space on volume
  • 10 - sector data is null
  • 11 - error whilst writing
  • 12 - can't get number of sectors

Version 0.0.0.2

Choose a tag to compare

@davidferguson davidferguson released this 17 May 09:58

Now prints out the number of blocks that it has written and the total number of blocks that needs to be written. For example: 1207/683789

This allows the user to see the current progress of the write.

Also included are a few .dll files that some versions of Windows require to run.