Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Files list
Message
De
11/02/1999 15:15:35
 
 
À
11/02/1999 14:13:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00186677
Message ID:
00186713
Vues:
14
>It`s not a problem in VFP to create a .txt file with names of files located in a directory. How can I do it without VFP?
>In DOS-mode command DIR saves to file shorten files name.

DIR /B >somefile.txt

I strongly recommend that you save the file in a directory other than the one you're checking. This will be the full (long) filename; to get the DOS 8.3 compatible name using the current registry setting for short name generation, under NT you can use

DIR /B /X >somefile.txt
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform