
Maybe I could do -f filename_on_disk filename_in_iso? Nope, this command doesn't even work: wrong parameter: aFolder.
ultraiso -imax -l -newdir aFolder -f a.txt aFolder -output test4.iso. Then I thought maybe there's something internal to the ISO that stores the current directory, and that a command has to set it before you can put files inside.
ultraiso -imax -l -newdir aFolder -output test3.iso followed by ultraiso -in test3.iso -chdir aFolder and then ultraiso -in test3.iso -f a.txt. I thought that maybe the folder had to be created with one call, and then changed into the next, but this gives the same result as 1: a.txt is next to aFolder. ultraiso -imax -l -newdir aFolder -output test2.iso followed by ultraiso -in test2.iso -chdir aFolder -f a.txt. This creates aFolder but places a.txt at the top-level (next to aFolder but not inside it). ultraiso -imax -l -newdir aFolder -chdir aFolder -f a.txt -output test1.iso. These are the commands I've tried with no luck. I should also be able to use -chdir dirname to change directories, but it's unclear how this works and I can't seem to get it working right.Īt the moment, I am just trying to make aFolder and put a.txt inside it. What I want the ISO image to look like: aFolder-|Īccording to the help page for the UltraISO command line arguments, I can pass -newdir dirname to create a new directory in the ISO image. This process will be done by another script, so it must be done with the command line. The directory structure I'm trying to create in the ISO image is NOT the same as what is currently on my hard drive. I'm trying to create an ISO image containing several directories and files.