'smorgens
Got a little question on the redirection of command output. I want to use the "use list" command to find out what drives are currently mapped. i would love to be able to use syntax like :
$result = split((use list),chr10)
to have all the lines in an array called $result.
I noticed that there were already some entries in the suggestions forum about redirecting in this way and also for shell output. let's hope it'll bee incorporated soon. In the mean time i could use redirectoutput and read the txt file. The following code :
redirectoutput("uselist.txt",1)
use list
redirectoutput("")
the txt file that is generated does not recognize the eol characters correctly, dumping all output to one line with two unreadable chars between lines.
Is that a problem with my setup or does anybody else also have problems with that ???
I use WIn2K prof SP1, Kix 4.02 and Notepad.exe V5.0.2140.1
Any input/help would be appreciated...
_________________________
rgrds,
Maarten