Display filepaths of specific files
Posted: 22 Jun 2012 04:47
Hi
I'm able to get the filepaths of all the files existing in a folder and all its subfolders.
However I need to get the filepaths of only specific files.
I have a folder which contains 300 subfolders and total number of files is 12332
i need to get the filepaths of only a 1000 files.
For example:
====================================
Input:
one.txt
two.txt
three.txt
.
.
.
.
.
.
thousand.txt
==========================================
output
C:\Users\ladduq\Desktop\New folder\okay\one.txt
C:\Users\ladduq\Desktop\New folder\okay\two\two.txt
C:\Users\ladduq\Desktop\New folder\three.txt
.
.
.
.
C:\Users\ladduq\Desktop\thousand.txt
===========================================
How can i acheive this.please suggest
Regards
Ladduq
I'm able to get the filepaths of all the files existing in a folder and all its subfolders.
However I need to get the filepaths of only specific files.
I have a folder which contains 300 subfolders and total number of files is 12332
i need to get the filepaths of only a 1000 files.
For example:
====================================
Input:
one.txt
two.txt
three.txt
.
.
.
.
.
.
thousand.txt
==========================================
output
C:\Users\ladduq\Desktop\New folder\okay\one.txt
C:\Users\ladduq\Desktop\New folder\okay\two\two.txt
C:\Users\ladduq\Desktop\New folder\three.txt
.
.
.
.
C:\Users\ladduq\Desktop\thousand.txt
===========================================
How can i acheive this.please suggest
Regards
Ladduq