Hi Hani,
Simplest: ! DIR C:\TEST > TEST.TXT
Single > erases the file, double >> appends to it.
>How can I suppress ("Press any key to continue") message from appearing when I issue command DIR C:\TEST TO FIle Test.txt
>Any help
Regards,
Mike
"We try to solve the problem by rushing through the design process so that enough time is left at the end to uncover the errors that were made because we rushed through the design process."
- Glenford Myers
If you're going through hell, keep going. - Walt Disney