Click to See Complete Forum and Search --> : find filename.txt


pantea
05-25-2005, 02:02 PM
Hi everyone :WAVE: ,
If i have different directory Length how can i find file in it?
for example: if i my files be in:
dir1\dir2\file.txt
dir1\d2\dira\r4\some.txt
dir1\h\s\dir45\ch\check1\take.txt
dir1\h\s\dir45\ch\check1\make.txt

how could i manage to get the files name which are

file.txt
some.txt
take.txt
make.txt

appreciate you help in advance

Phil Weber
05-25-2005, 02:16 PM
http://forums.devx.com/showthread.php?t=143617

pantea
05-25-2005, 03:51 PM
No that is different, i want to somhow after getting the fullname seprate the path from filename

Phil Weber
05-25-2005, 04:36 PM
Instead of fi.FullName, use fi.Name.