Based on https://9to5tutorial.com/recreate-a-bootable-windows-installation-iso-with-mkisofs, the mkisofs.exe
is available from the cdrtfe project.
If you are only interested in mkisofs.exe, you can download the zip file and extract:
tools\cdrtools\mkisofs.exe
tools\cygwin\cygwin*
into the same folder, e.g.:
PS C:\image_build\mkisofs> dir
Directory: C:\image_build\mkisofs
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---- 17/09/2022 11:22 AM 48 cygwin.ini
-a---- 17/09/2022 11:22 AM 3458775 cygwin1.dll
-a---- 17/09/2022 11:16 AM 1356800 mkisofs.exe
Testing the command line:
PS C:\image_build\mkisofs> .\mkisofs.exe -version
mkisofs 3.02a10 2021/07/23 (i686-pc-cygwin)
Copyright (C) 1993-1997 Eric Youngdale
Copyright (C) 1997-2020 Joerg Schilling
Copyright (C) 1997-2001 James Pearson
Copyright (C) 2006 HELIOS Software GmbH
Keep in mind that Helios themselves haven't tested the windows version of mkisofs, and they don't provide a windows version themselves. Further info is available on the helios mkisofs page, which also has some useful info about the tool.
In regards to inside VSCode, my suggestion would be to use the absolute path rather than relying on the Path environment being set correctly.
Running from the base windows directory with the absolute path still works:
PS C:\> C:\image_build\mkisofs\mkisofs.exe -version
mkisofs 3.02a10 2021/07/23 (i686-pc-cygwin)
Copyright (C) 1993-1997 Eric Youngdale
Copyright (C) 1997-2020 Joerg Schilling
Copyright (C) 1997-2001 James Pearson
Copyright (C) 2006 HELIOS Software GmbH