question catching system message
- Posted by Salix <salix at freemail??u> Aug 11, 2007
- 488 views
Is there a way to catch the reply of system() under Win32? The following is incorrect sytax but that's what I mean:
sequence sx sx=system("dir *.txt",2)
Currently the only way I can do it is this
sequence sx system("dir *.txt > temp.txt",2) sx=read_file("temp.txt")
Any tips? Thanks, Salix