/** * Normalizes a mixed Windows/Unix Path. Does Only work for Windows or Unix Pathes Reason: * Java.File accepts / or \ for Pathes. Batches or ShellScripts does it not! * * @param destination accepted mixed form by java.File like "C:/a/mixed\path\accepted/by\Java" * @return the normalized Path */ public static String normalizePath(String destination) { return (normalizePath(destination, null)); }