TIP: Click on subject to list as thread! ANSI
echo: power_bas
to: ERIC SCHONNING
from: CARLES MATEO
date: 1995-08-30 15:01:00
subject: DIR$, DIR$, DIR$

Hello Eric!
 > CM> If I pass DIR$("*.TXT") I can't get the subdirectories "*." and if I p
 > CM> "*." I can't get the "*.TXT" files. [Problem is also that not all dire
 > CM> are "*.", we can make a directorie called "MY.DIR" and do "C:\>CD MY.D
 > CM> I have thought that only solution is to get "*.*" and doing a subrutin
 > CM> order to pass a filter.
 > You need to give attribute 16 to get directories.
 > if its a directory or a file.  Not too hard to do.
 > You can then test the extensions of the files to parse
 > out .TXT, .DOC,
 > etc as you see fit.  If you want more info on the DTA
Thanks for your reply,
Finally I think I'm going to test names and extensions.
(User can enter "P?w?*.TXT" and I would have to test all archives with 
extension ".TXT" and then with name "P?W?*" )
This is the problem but I think in a few time scratching the keyboard I'm 
going to success.
Salutacions,
Carles Mateo
--- FMail 0.98a
---------------
* Origin: (2:343/121.31)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.