Skip to content

Instantly share code, notes, and snippets.

@Postrediori
Created April 3, 2026 22:16
Show Gist options
  • Select an option

  • Save Postrediori/1611624e97f3e06e94a6d5b62d571973 to your computer and use it in GitHub Desktop.

Select an option

Save Postrediori/1611624e97f3e06e94a6d5b62d571973 to your computer and use it in GitHub Desktop.

Windows command-line ISO tools

mkisofs

Download cdrtfe-1.5.9.zip from:

Copy from cdrtfe-1.5.9.zip:

  • mkisofs.exe from tools\cdrtools
  • Cygwin files from tools\cygwin

Usage:

mkisofs.exe -r -J -o DiskImage.iso .\FilesFolder

Links:

oscdimg

Tool will be installed to (depending on bitness):

C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\amd64\Oscdimg

C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\x86\Oscdimg

C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\arm64\Oscdimg

Create ISO9660 disk image from FilesFolder:

oscdimg -lDISKLBL -n -m FilesFolder DiskImage.iso

Cretae UDF-only image:

oscdimg -lDISKLBL -u2 -m FilesFolder DiskImage.iso
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment