View previous topic :: View next topic |
Author |
Message |
flypaper Contributor


Joined: 19 Oct 2001 Posts: 104
|
Posted: Wed Mar 30, 2005 7:59 pm Post subject: Need to create a list of users under Documents and Settings |
|
|
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 |
|
 |
flypaper Contributor


Joined: 19 Oct 2001 Posts: 104
|
Posted: Fri Apr 01, 2005 1:53 pm Post subject: |
|
|
Anyone?  |
|
Back to top |
|
 |
Serge Professional Member


Joined: 04 Mar 2002 Posts: 1480 Location: Australia
|
Posted: Sat Apr 02, 2005 12:35 am Post subject: |
|
|
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 |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Sat Apr 02, 2005 1:02 am Post subject: |
|
|
If you use the "D" parameter only, FILELIST doesn't
load subdirs.
LIST FILELIST, List1, C:\Programming, D
Cheers, Mac  _________________ 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 |
|
 |
flypaper Contributor


Joined: 19 Oct 2001 Posts: 104
|
Posted: Mon Apr 04, 2005 3:24 pm Post subject: |
|
|
Sweet! Thanks mac, that did it! |
|
Back to top |
|
 |
|