diff --git a/client/src/org/compiere/apps/Attachment.java b/client/src/org/compiere/apps/Attachment.java index 3b75a9bda0..38bb97857e 100644 --- a/client/src/org/compiere/apps/Attachment.java +++ b/client/src/org/compiere/apps/Attachment.java @@ -504,7 +504,9 @@ public final class Attachment extends CDialog try { - String fileName = System.getProperty("java.io.tmpdir") + m_attachment.getEntryName(index); + String fileName = System.getProperty("java.io.tmpdir") + + System.getProperty("file.separator") + + m_attachment.getEntryName(index); File tempFile = new File(fileName); m_attachment.getEntryFile(index, tempFile);