Thanks, that work and Steve solution works too.
Thaks to both of you
>>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
>
>
>SET CONSOLE OFF first:
>
>
>SET CONSOLE OFF
>DIR C:\TEST TO FILE test.txt
>SET CONSOLE ON
>
>
>--Brad