do it just like you would from the command line.
system("dir > myfile.txt");
Last edited by Ancient Dragon; Nov 18th, 2006 at 8:55 am.
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2282
Retired and Enjoying Life
Offline 21,953 posts
since Aug 2005