M$ = "ipconfig /all" cmd$ = IM$ + " > test.txt" run cmd$ open "test.txt" for input as #fi f$ =input$( #fi, lof( #fi)) close #fi print f$ end