The Daily Click ::. Forums ::. Klik Coding Help ::. How to list all files in a directory in to list object?
 

Post Reply  Post Oekaki 
 

Posted By Message

Hplkopra



Registered
  30/08/2002
Points
  65
19th November, 2003 at 15:14:40 -

Yeah, how can I do that? And can I get an certain type files only into the list object? Understand? For an example if I have a .Txt file in the directory, it wouldn't put in to the list, because it it isn't a .lev file. Understand now?

 
Try to solve the mystery of this signature.

ShadowCaster

Possibly Insane

Registered
  02/01/2002
Points
  2203
19th November, 2003 at 15:46:25 -

In the actions for the List object:
Files → Load File List → "C:\MyDirectory\*.lev"

Mike ¿

 
"Now I guess we're... 'Path-E-Tech Management'" -Dilbert

ShadowCaster

Possibly Insane

Registered
  02/01/2002
Points
  2203
19th November, 2003 at 15:48:05 -

Or use AppDrive$ + AppDir$ + "\MySubDir\*.lev" which would be a lot better

 
"Now I guess we're... 'Path-E-Tech Management'" -Dilbert

Lazernaut



Registered
  08/09/2002
Points
  1103

VIP MemberThe Cake is a LieIt's-a me, Mario!Wii OwnerPokemon Ball!
20th November, 2003 at 05:31:50 -

I'm wondering, what the difference between "AppDrive$ + AppDir$ + "\MySubDir\*.lev" and ".\*.lev" ?

 
n/a

Hplkopra



Registered
  30/08/2002
Points
  65
20th November, 2003 at 07:58:41 -

Thanks, that worked, very useful!

 
Try to solve the mystery of this signature.

Leerz



Registered
  31/08/2004
Points
  995
26th April, 2005 at 08:53:58 -

im getting this result
quest(~1.zip
armyme~2.zip
astero~1.zip
automo~1.zip

is there a way were it cant list the whole name of the file?
BTW
AppDrive$ + AppDir$ + "\MySubDir\*.*"
works if u want all the file types

 
hOY! Pinoy Ako..
   

Post Reply



 



Advertisement

Worth A Click