>>I need a VFP command which will dump the results of a search command into a file. My program needs to look for any file meeting the DOS criteria XFER*.DBF. These files could be in any subdirectory. THE DOS command to do it would be:
>>
>>DIR XFER*.DBF >FILELIST.TXT /S
>>
>>This isn't good in VFP; it's slow, and it has to use a run-time DOS window. However, I'll use it if necessary. I would like to know, though, how to squelch that run-time DOS window. I see in the manuals how to resize it, but I'd like to eliminate it completely.
>>
>>Thanks in advance,
>>JR
>
>Joy:
>
>You are always going to get at least a flash of the window on the screen. I have looked high and low for a way to mask this, but have had no luck. If you find a way to do it, I would like to know solution also.
> ED
While better solutions exist (i.e. using ADIR) to this problem, you can get rid of the DOS flash by calling a pif file that calls a batch file. The pif file can be set to run in background.