Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A Fox command dos's DIR MYFILE.TXT >FILELIST.TXT /S
Message
De
07/08/1997 08:58:25
 
 
À
06/08/1997 16:40:46
Edward Crawford
City Facilities Management
Glasgow, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00043406
Message ID:
00043494
Vues:
37
>>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.
__________________________________________________
Mesa Vista Software (david@mesa-vista.com)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform