Rich G. Posted September 12, 2007 Posted September 12, 2007 I'm trying to create an ISO file from directories on my hard drive. This is the contents of the batch file I'm using to achive this: "C:\Program Files\ImgBurn\imgBurn.exe" /MODE ISOBUILD /BUILDMODE /SRC "C:\Data\SourceCode\VLAN_Setup\" /DEST "C:\Data\ISO\VLAN_SETUP.iso" /NOIMAGEDETAILS /ROOTFOLDER YES /OVERWRITE YES /RECURSESUBDIRECTORIES YES /PRESERVEFULLPATHNAMES YES /VOLUMELABEL "VLAN_SETUP" /START /CLOSESUCCESS The problem is that the RootFolder switch has no affect. I'm getting the "C:\Data\SourceCode\VLAN_Setup" folders before the files. I need the contents of the VLAN_Setup folder to be at the root of the ISO image. Help!
LIGHTNING UK! Posted September 12, 2007 Posted September 12, 2007 Drop the preservefullpathnames switch. If you use that it means you'll get a 'data' folder with 'sourcecode' in that and 'vlan_setup' in that.
Rich G. Posted September 12, 2007 Author Posted September 12, 2007 Drop the preservefullpathnames switch. If you use that it means you'll get a 'data' folder with 'sourcecode' in that and 'vlan_setup' in that. I removed the preservefullpathnames switch and I get the same results. Here is the modified script/batch file: "C:\Program Files\ImgBurn\imgBurn.exe" /MODE ISOBUILD /BUILDMODE /SRC "C:\Data\SourceCode\VLAN_Setup\" /DEST "C:\Data\ISO\VLAN_SETUP.iso" /NOIMAGEDETAILS /ROOTFOLDER YES /OVERWRITE YES /RECURSESUBDIRECTORIES YES /VOLUMELABEL "VLAN_SETUP" /START /CLOSESUCCESS
Rich G. Posted September 12, 2007 Author Posted September 12, 2007 Drop the preservefullpathnames switch. If you use that it means you'll get a 'data' folder with 'sourcecode' in that and 'vlan_setup' in that. I removed the preservefullpathnames switch and I get the same results. Here is the modified script/batch file: "C:\Program Files\ImgBurn\imgBurn.exe" /MODE ISOBUILD /BUILDMODE /SRC "C:\Data\SourceCode\VLAN_Setup\" /DEST "C:\Data\ISO\VLAN_SETUP.iso" /NOIMAGEDETAILS /ROOTFOLDER YES /OVERWRITE YES /RECURSESUBDIRECTORIES YES /VOLUMELABEL "VLAN_SETUP" /START /CLOSESUCCESS I GOT IT! Set the preservefullpathnames to NO "C:\Program Files\ImgBurn\imgBurn.exe" /MODE ISOBUILD /BUILDMODE /SRC "C:\Data\SourceCode\VLAN_Setup\" /DEST "C:\Data\ISO\VLAN_SETUP.iso" /NOIMAGEDETAILS /ROOTFOLDER YES /OVERWRITE YES /PRESERVEFULLPATHNAMES NO /RECURSESUBDIRECTORIES YES /VOLUMELABEL "VLAN_SETUP" /START /CLOSESUCCESS Thanks for pointing me in the right direction. Rich
LIGHTNING UK! Posted September 12, 2007 Posted September 12, 2007 Sorry yeah, 'dropping' it would assume it's NOT already ticked in the GUI
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now