
In this case, the macBoot.bat file and OSX dmg file are in the same folder. Usage example: macBoot.bat “OS_X_El_Capitan_10.11.6_MAS.dmg” G: Use the bat file to create a bootable mac usb drive.Ĭommand format: macBoot.bat pathToDMG driveLetter Partition 1 is now the selected partition.ĭiskPart successfully formatted the volume. You should be able to recognize it by its size.ĭiskPart successfully converted the selected disk to GPT format.ĭiskPart succeeded in creating the specified partition. Now select the disk number that represents your flash drive.

Execute the command below highlighted with bold text.

Please install it in the default directory as I am using that path in the script below. Paragon Partition Manager Free Edition, download here.How to create a bootable mac USB from Windows.
