// Get the path separator char. Note the result is a 1-character string, not a char
final String pathSepString = System.getProperty( "path.separator" );
final char pathSep = pathSepString.charAt( 0 );