filename has extra ;1

Nov 22, 2013 at 8:24 AM
I use CDReader to extract files form ISO, sometimes it works correctly.
But when I try to extract files from "sc_office_2003_pro.iso", I founded every file has appended ";1", just like that I got "SETUP.EXE;1" who should be "SETUP.EXE".
Can anyone in the world tell me how can I get the right files form the ISO? Thanks
My C# code:
private static void extractFiles(DiscDirectoryInfo ddi, string outputPath)
            if (!ddi.Exists)
            if (!Directory.Exists(outputPath))
            foreach (DiscDirectoryInfo subddi in ddi.GetDirectories())
                extractFiles(subddi, outputPath + @"\" + subddi.Name);
            foreach (DiscFileInfo dfi in ddi.GetFiles())
                using (Stream source = dfi.Open(FileMode.Open, FileAccess.Read))
                    using (FileStream outFile = new FileStream(outputPath + @"\" + dfi.Name, FileMode.OpenOrCreate, FileAccess.ReadWrite))
                        PumpStreams(source, outFile);

Nov 23, 2013 at 5:38 PM

Try using the hideVersions parameter on the CDReader constructor:
public CDReader(Stream data, bool joliet, bool hideVersions)
ISO's are specified to have the version number as part of the file name - OS's normally hide the version number, using this parameter will do the same.