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 


Need to create a list of users under Documents and Settings

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


Joined: 19 Oct 2001
Posts: 104

PostPosted: Wed Mar 30, 2005 7:59 pm    Post subject: Need to create a list of users under Documents and Settings Reply with quote

This is probably easy and I'm missing it, but I need a list of the directories (users) under C:\Documents and Settings, but not directories underneath that. LIST FILELIST seems to list ALL subdirectories...

EDIT: VDS4 if it matters...
Back to top
View user's profile Send private message
flypaper
Contributor
Contributor


Joined: 19 Oct 2001
Posts: 104

PostPosted: Fri Apr 01, 2005 1:53 pm    Post subject: Reply with quote

Anyone? Sad
Back to top
View user's profile Send private message
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Sat Apr 02, 2005 12:35 am    Post subject: Reply with quote

sorry flypaper, i was hoping that someone else might have a better idea than mine

i would suggest using LIST FILELIST to list everything and then go through the list to delete all subfolders you don't want

the trick is to work out which are the ones you don't want - perhaps a count of "\" will help

eg.

c:\windows\ has 2

c:\windows\fonts\ has 3

and using that idea you can just delete entries that don't have the correct numbers of "\"

serge

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Mac
Professional Member
Professional Member


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

PostPosted: Sat Apr 02, 2005 1:02 am    Post subject: Reply with quote

If you use the "D" parameter only, FILELIST doesn't
load subdirs. Wink

LIST FILELIST, List1, C:\Programming, D

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
flypaper
Contributor
Contributor


Joined: 19 Oct 2001
Posts: 104

PostPosted: Mon Apr 04, 2005 3:24 pm    Post subject: Reply with quote

Sweet! Thanks mac, that did it!
Back to top
View user's profile Send private message
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