When I try to run POIFSDump on Windows, I get: Exception in thread "main" java.io.IOException: Could not create directory 60162.ppt\Root Entry If I modify the file name: File file = new File(new File(filename).getName()+"_dump", root.getName()); all works. Anyone mind if I change this?
I would say go ahead, this is a dev-tool so not something anybody else would usually run.
Modified in r1765531.
I'm guessing the only way this worked before is if the MS Office files were located in a different directory (and thus filename was a path) from where the output dump directory was created (presumably in the same directory as where POIFSDump was run, since new File(filename).getName() strips the parent directory portion of filename.