Solved

open local files using HTML

Posted on 2009-04-03
3
721 Views
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...

<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...
0
Comment
Question by:shragi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 19

Expert Comment

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

Author Comment

by:shragi
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....
0
 
LVL 2

Accepted Solution

by:
jorsing earned 125 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>
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

CTAs encourage people to do something specific to show interest in your company, product or service. Keep reading to learn why CTAs should always be thought of as extremely important, albeit small, sections of websites.
When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
This video teaches users how to migrate an existing Wordpress website to a new domain.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

705 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