open local files using HTML

Posted on 2009-04-03
Medium Priority
Last Modified: 2012-05-06
I had few txt files and some batch files...

I want to open txt files or link the txt files and batch files from HTML

is it possible...


<a href="file://C:/munna/test.txt">Input Page</a>


is the above correct actually i am not getting any thing from it...
Question by:shragi
LVL 19

Expert Comment

ID: 24063019
make sure that the file is actually exist in the directory

Author Comment

ID: 24063067
it was there...I am able to open it...but I want it to write the file...I mean I want to open the file in write mode...and I even want to run batch files....

Accepted Solution

jorsing earned 375 total points
ID: 24067852
The file path in your code is for a file on your personal computer.
It will not launch the file on your server.

The server version file path is probably: <a href="test.txt">Input Page</a>

Featured Post

Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Without even knowing it, most of us are using web applications on a daily basis.  In fact, Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We generally confuse these web applications to…
How do you create a user-centered user experience on your website? And what are some things you should consider in the process?
The viewer will learn how to dynamically set the form action using jQuery.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

587 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question