$myVar = system ("C:\\configInfo.exe"); print "the Variable is:" . $myVar; [download]
In reply to Reading console output into a perl by Anonymous Monk