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 


List *all* files on a computer

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


Joined: 30 Apr 2001
Posts: 3

PostPosted: Fri Apr 05, 2002 7:20 am    Post subject: List *all* files on a computer Reply with quote

How can i list all files on my computer???

i need this ASAP!!!

thank you in advanced....

Willis
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Fri Apr 05, 2002 8:25 am    Post subject: Reply with quote

__________________________________________________________________________________________________________________________
Here's a link to some some posts from the old
messageboard that should help...

http://www.sools.nl/cgi-bin/Ultraboard/UltraBoard.pl?action=Read&BID=3&TID=111&SID=4

Cheers, Mac Smile

_________________
VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
Back to top
View user's profile Send private message Send e-mail
Lucyfer
Newbie


Joined: 06 Apr 2002
Posts: 16
Location: Quebec/Canada

PostPosted: Fri Apr 12, 2002 6:12 pm    Post subject: Reply with quote

Hi,

The 'List filelist' command has a big problem with attributes!

The following:
Code:
List create,1
List filelist,1,c:\,*

Will list all directories and subdirectories, BUT the hidden/system ones.. Confused

Modified like this:
Code:
List create,1
List filelist,1,c:\,*SH

Will list directories along with EVERY hidden/system entries, including files!

I've been making/maintaining a backup program for a while, and stumbled into this problem which I can't really patch. As soon as you specify more flags than 'D' or '*', files become involved...

I've been using a tweak to remove files from my list.
Using ',*SH' to fill a list then testing each entry to see if it's a file.
Code:

rem -/- short part of by software.  Close to self-explaining!
        List Filelist,2,%%FromPath,*SH
        Repeat
          If @File(@Item(2),SHZ)
            LIST Delete,2
          Else
            %%Zozo = @Next(2)
          End
        Until @Null(@Item(2))

I just discovered the second option of @item(x,y) while roaming through the forum, so I'll certainly be optimizing my softwares... I'm always using @next() or LIST Seek to move in a list, instead of pointing the item I want...

We learn everyday!

Cheers! Smile
Back to top
View user's profile Send private message Send e-mail
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