Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
List content of a folder
Message
From
01/05/2004 12:56:47
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00900047
Message ID:
00900049
Views:
15
Hi Moises,

In many ways, the easiest is
LIST FILES LIKE yourpath\yourfile.yourext INTO FILE yourfile
OR
nFiles=ADIR(aFiles,'yourpath\yourfile.yourext')
SET ALTE TO yourfile
SET ALTE ON
IF nFILES>0
   FOR X=1 TO nFILES
      ?aFILES(X,1)
   ENDFOR
ENDIF
SET ALTE OFF
SET ALTE TO
>How can I list the content of a folder of windows
>so it can be inserted into a doc of txt file ?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform