>LIST FILES TO TEST.TXT suppress the wait window message but still SENDING THE RESULT TO FOXPRO MAIN SCREEN, I would like to suppress that too.
Oh, you didn't list that as a requirement. :)
Brad's answer will do what you want. You cannot test it from the command window....only works within a program.
Steve Gibson