Calling TextPad from HTML in IE Browser
Posted: Tue May 06, 2003 11:51 am
I have a website which is dynamically built using php and is based on several hundred small text files, and several text files are used to build each page.
I am trying to make content management (by me) much easier by calling TextPad directly with a link from the relevant part of the HTML page as displayed in IE.
I have fixed it so that when the webpage is displayed on my development PC (W98 with Apache for php) links appear with the name of the text file used to generate the page.
But. What I want to do is click the link and get TextPad to open that specific file, but I can't get it to recognise the file name.
<A HREF="C:\filepad\TextPad.exe"> opens TextPad OK.
But <A HREF="C:\filepad\TextPad.exe filename.txt"> just hangs in IE with a blank page.
I've tried other syntax variations but can't find one that works.
Any ideas?
Brian
I am trying to make content management (by me) much easier by calling TextPad directly with a link from the relevant part of the HTML page as displayed in IE.
I have fixed it so that when the webpage is displayed on my development PC (W98 with Apache for php) links appear with the name of the text file used to generate the page.
But. What I want to do is click the link and get TextPad to open that specific file, but I can't get it to recognise the file name.
<A HREF="C:\filepad\TextPad.exe"> opens TextPad OK.
But <A HREF="C:\filepad\TextPad.exe filename.txt"> just hangs in IE with a blank page.
I've tried other syntax variations but can't find one that works.
Any ideas?
Brian