open local files using HTML

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...

<html>
<body>

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

</body>
</html>

is the above correct actually i am not getting any thing from it...
shragiAsked:
Who is Participating?
 
jorsingConnect With a Mentor Commented:
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>
0
 
erikTsomikSystem Architect, CF programmer Commented:
make sure that the file is actually exist in the directory
0
 
shragiAuthor Commented:
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....
0
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.

All Courses

From novice to tech pro — start learning today.