Index: MutableSection.java =================================================================== RCS file: /home/cvspublic/jakarta-poi/src/java/org/apache/poi/hpsf/MutableSection.java,v retrieving revision 1.12 diff -u -r1.12 MutableSection.java --- MutableSection.java 15 Aug 2004 15:20:07 -0000 1.12 +++ MutableSection.java 31 Aug 2004 09:24:36 -0000 @@ -302,7 +302,8 @@ final ByteArrayOutputStream out = new ByteArrayOutputStream(); write(out); out.close(); - sectionBytes = out.toByteArray(); + // pad so that windows shell (explorer) shows custom properties + sectionBytes = Util.pad4(out.toByteArray()); return sectionBytes.length; }