1: …… 2: public void f() throws IOException { 3: Properties props = new Properties(); 4: String fileName = "file_list"; 5: FileInputStream in = new FileInputStream(fileName); 6: props.load(in); 7: String version = props.getProperty("dir_type" ); 8: String cmd = new String("cmd.exe /K \"rmanDB.bat \""); 9: Runtime.getRuntime().exec(cmd + " c:\\prog_cmd\\" + version); 10: …… 11: }