What I want to do is call the ls command in Unix and have the output piped into a file? It won't work however, can anyone tell me why or if there is another way other than the one below (that doesn't work) to do it?
system ("ls -author >>tmp.txt");
Thanx
Nicola
:confused: