Help for getting the file names from filesets
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Ionescu_Victor
Posted On:   Tuesday, September 23, 2003 03:48 AM

I need a script that searches a fileset from files containing a string, and for the files that match I want to append the names of the files to a new file. For example, I want to search a folder for files containing the string "javaguru" and the search found "one.txt", "two.txt" and "three.txt". So I want to create a file "result.txt" containing the lines: one.txt two.txt three.txt I have absolutely no ideea how this might get done. Thanks    More>>

I need a script that searches a fileset from files containing


a string, and for the files that match I want to append


the names of the files to a new file.


For example, I want to search a folder for files containing


the string "javaguru" and the search found "one.txt",


"two.txt" and "three.txt". So I want to create a file


"result.txt" containing the lines:


one.txt


two.txt


three.txt


I have absolutely no ideea how this might get done.


Thanks

   <<Less

Re: Help for getting the file names from filesets

Posted By:   Anonymous  
Posted On:   Thursday, September 25, 2003 07:24 AM

Have a look at and the s. I thing the selector will help. Store that as convert that path to a and you should have that.








About | Sitemap | Contact