Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling all FoxPerts!! Can capture !NDIR reply from desk
Message
 
À
15/03/1999 18:32:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00197830
Message ID:
00200923
Vues:
8
Hi John,

Funny you know the name of my company. *bg*

>When I type !NDIR /SORT [some sortspec] in command window I can get response on FoxPro desktop ( as with most any DOS/NetWare commands) I am trying to get files in a directory that have not been accessed for more than 1 year. I can get the output on the screen but I need to redirect this output to a text file (and eventually a table) some my prg will use this list for archiving. I tried (probably not correctly) to accomplish this with SET DEVICE to file, SET ALTERNATE to file, SET PRINT ON with no luck.

Try

!NDIR /SORT ... >DirList.TXT

Then open DirList.TXT in FoxPro to process the result.

Christof
--
Christof
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform