Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

tool for creating links to many docs?

Status
Not open for further replies.

warby1212

Programmer
Jun 9, 2003
183
AU
Hi, I have about a hundred documents (.doc, .pdf etc) loose and within subfolders, which need to be added to a web page as resources. Is ther a tool or process for doing this automatically. Would mak emy life much easier.
cheers Steve

I should write something here.
 
Go to the command prompt and
Code:
dir /b >myfiles.txt

Open that up in Excel and insert the proper code in the columns on either side and concantenate it or save it as csv then open in notepad and find/replace all the commas.

Copy/paste that into your HTML.
 
Or open in an editor that has regular expression search and replace, then replace start-of-line and end-of-line expressions with the appropriate text (but be sure to add back the end-of-line in your replacement text).



Tracy Dryden

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard. [dragon]
 
Thanks very much :) dos to the rescue !

cheers warby12

I should write something here.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top