Type='both' - works on Windows