diff --git a/rse/plugins/org.eclipse.rse.services.local/src/org/eclipse/rse/services/local/files/LocalFileService.java b/rse/plugins/org.eclipse.rse.services.local/src/org/eclipse/rse/services/local/files/LocalFileService.java index 1200919978d..327536a0d2d 100644 --- a/rse/plugins/org.eclipse.rse.services.local/src/org/eclipse/rse/services/local/files/LocalFileService.java +++ b/rse/plugins/org.eclipse.rse.services.local/src/org/eclipse/rse/services/local/files/LocalFileService.java @@ -1095,6 +1095,7 @@ public class LocalFileService extends AbstractFileService implements IFileServic try { targetFile.createNewFile(); + } catch (Exception e) { @@ -1173,7 +1174,7 @@ public class LocalFileService extends AbstractFileService implements IFileServic */ protected boolean isSpecialChar(char c) { - if ((c == '$') || (c == '`') || (c == '"') || (c == '\\') ) { + if ((c == '$') || (c == '`') || (c == '"') || (!isWindows() && (c == '\\')) ) { return true; }