public static String handleShellEscapeProcessing(String path) {
		if (path == null) {
			return null;
		}
		char[] escaped = new char[] { 'r', 't', 'n', 'f', 'u' };
		for (char c : escaped) {
			path = path.replace("\\" + c, "\\\\" + c);
		}
		return path;
	}
Fixes file paths in Windows environments that contain things that the Shell interprets as escape sequences.
@param path a file path
@return fixed path
spring-xd-test-fixtures/src/main/java/org/springframework/xd/test/fixtures/util/FixtureUtils.java