public static String trim(String path){
  while (path.startsWith("\"") && path.endsWith("\""))   path=path.substring(1,path.length() - 1);
  return path;
}

public static String trim ( String path ) { while ( path . startsWith ( "\"" ) && path . endsWith ( "\"" ) ) path = path . substring ( 1 , path . length ( ) - 1 ) ; return path ; }
removes every ' " ' character before and after the path , if any .
