public static String cPath(String path) {
        for (int i = 0; i < path.length(); i++) {
            if (path.charAt(i) == '/' && File.separatorChar != '/') {
                path = path.substring(0, i) + File.separator + path.substring(i + 1);
            }
        }

        return path;
    }