Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

896.Text generator -- How to generate an html page that include download links of specified files?

User: editor -- 2011-12-15          << 895  897 >>
Hits: 3230
Type: Text generator   
Search all Text generator examples
Description:
How to generate an html page that include download links of all files in a folder?
Input Sample:
There are following files in a folder:
a1.pdf
a2.pdf
a3.doc
a4.doc
...
Output Sample:
Create an download.html file including following code:
<a href="a1.pdf">Download a1.pdf</a>
<a href="a2.pdf">Download a2.pdf</a>
<a href="a3.doc">Download a3.doc</a>
<a href="a4.doc">Download a4.doc</a>
Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
1. open "Tools->Batch Runner" menu
2. drag all the files, such as a1.pdf, a2.pdf, a3.pdf,...   from windows file browser to "Batch Runner" windows.
3. click "export list", and set "File List Format" to:

4. click "Next", and select an output file such as a.txt, done.
5. you can copy code in a.txt and paste to download.html

Similar Examples:
How to refine multiple text files by specified rules? (57%)
How to extract all records that contains specified field values? (57%)
How to extract the forth column in the second line from different files? (56%)
How to search and replace text 'ReplaceMe' only in specified lines? (56%)
How to generate all palindromic prime with specified length?
(55%)
How to extract the certain line that follow the specified line? (55%)
How to extract all data followed by specified words from many files? (55%)
How to generate a list of picture names and put into a csv file? (54%)

Check Demo of Text generator
Keywords:
pdf  href  a href  include  export  links  code  next  download  down  generate html include  file copy generator  generate html files  copy paste  export list of files  html page generator  download all links from html  html file list and download page