// Call Command Prompt command "ipconfig" to read system configuration. // Pipeline the output to a text file. String filePath = "C:\\TempIPConfigInfo.txt" String cmd = "ipconfig >> " + filePath // Using cmd.exe /c will prevent the command prompt window from showing String callString = "cmd.exe /c" + cmd LaunchExternalProcess( callString ) //Now open the file in DM DocumentWindow info = NewScriptWindowFromFile( filePath )