Re: How to extract filenames only from ListDir() m - WeOnlyDo Discussion board

Re: How to extract filenames only from ListDir() m (General questions)

by Mudassir, Wednesday, November 23, 2005, 16:55 (6939 days ago) @ wodSupport

Can somene plz give me the code of parsing or just tell me how I can distinguish between directories and files in list below.

drwxr-xr-x 5 root root 4096 Dec 31 2004 .
drwxr-xr-x 25 root root 4096 Nov 14 15:59 ..
drwxr-xr-x 2 root root 4096 Dec 31 2004 CustomFCLine
drwxr-xr-x 2 root root 4096 Dec 31 2004 CustomMSLine
-rw-r--r-- 1 root root 33672 Dec 31 2004 fc2column.swf
-rw-r--r-- 1 root root 9228 Dec 31 2004 fc2line.swf
-rw-r--r-- 1 root root 10338 Dec 31 2004 fc2msline.swf
-rw-r--r-- 1 root root 10474 Dec 31 2004 FC2Pipe.swf
-rw-r--r-- 1 root root 10474 Dec 31 2004 FC2Pipe1.swf
drwxr-xr-x 2 root root 4096 Dec 31 2004 MSLine

help me plz pzl plz.


Complete thread: