I am trying to determine the domain of the machine running an install. To do this I am using the ipconfig /all command routed to a text file, but when done from within Install Shield the file is not created, and the output is not routed anywhere.
nReturn=LaunchAppAndWait("ipconfig","/all > c:\\temp.txt",WAIT);
nReturn=FileGrep("c:\\temp.txt", "Primary Dns Suffix", svReturn, nvLine, RESTART);
This works fine from the command line, and the grep runs fine if the file is created from the command line. Any ideas?
Thanks in advance!
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Capturing output from command line
Started by
prozacrefugee
, Oct 23 2002 20:00
1 reply to this topic