Convert DMG image to ISO using dmg2img 1.6 on windows7

In this small article i will show you how to convert .dmg image file to an .iso image.
What is a DMG file?
Dmg is image file extension for Mac OS, where as extension like ISO and BIN are related to windows image files.
You cannot use DMG file on windows you need to convert this type to some windows know extension like ISO. dmg2img is dmg to iso converter.
Following are step for converting a .dmg to .iso using dmg2img
Step-1:
Download and extract dmg2img, you can easily download free this software from internet. After the extraction you will find following three files.


Step-2:
Open the command promt by typing "cmd" in run.


Step-3: 
To convert a dmg into iso using dmg2img you need to type the command according to following syntax.
dmg2img <source dmg file Directory(location)> <Destination iso image location>
In my case these parameters are as follow:
dmg2img software Location: C:\mac
DMG image Location: C:\mac\mac.dmg
Destination iso : C:\mac\mac7.iso
So first open the mac folder in cmd using cd "C:|mac" and then type the command
dmg2img  C:\mac\mac.dmg  C:\mac\mac7.iso


press enter and converting process is start and new iso imag is appear in mac folder.