forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Can DragDrop read files inside folder

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
filip
Valued Contributor
Valued Contributor


Joined: 07 Aug 2004
Posts: 340

PostPosted: Sat Feb 18, 2006 2:09 pm    Post subject: Can DragDrop read files inside folder Reply with quote

Can DragDrop read files inside folder and make list of it Confused
Back to top
View user's profile Send private message Send e-mail
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1753
Location: Space and Time

PostPosted: Sat Feb 18, 2006 6:44 pm    Post subject: Reply with quote

You can D-n-D a folder but you would half to get the files yourself. Tommy has a great file listing dll flist.dll (comes with VDSdll3) or you would have to do it completely in VDS. something like..

Code:

list create,1
list dropfiles,1
%i = @item(1)
# check to see if the dir exists
if @file(%i,D)
   list create,2
   list filelist,2,%i\*.*
end
# you would have to make a repeat statement if you want to
# get files from a sub folder


Hope that helps

_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group