private void find95 ( ) { String s = "winipcfg.out" ; try { Process p ; p = Runtime . getRuntime ( ) . exec ( "winipcfg /all /batch " + s ) ; p . waitFor ( ) ; File f = new File ( s ) ; findWin ( new FileInputStream ( f ) ) ; new File ( s ) . delete ( ) ; } catch ( Exception e ) { return ; } }
Calls winipcfg and parses the result to find servers and a search path .