Solved

open local files using HTML

Posted on 2009-04-03
3
720 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

Report: Liquid Web beats Amazon, Rackspace & More

A study by performance analyst firm Cloud Spectator finds that Liquid Web beats rivals Amazon, Rackspace and DigitalOcean when it comes to website and cloud application performance.

Question has a verified solution.

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

There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
When the s#!t hits the fan, you don’t have time to look up who’s on call, draft emails, call collaborators, or send text messages. An instant chat window is definitely the way to go, especially one like HipChat. HipChat is a true business app. An…
Wufoo.com provides powerful tools for surveying targeted groups, and utilizing data from completed surveys to find trends, discover areas of demand or customer expectation, and make business decisions on products or services.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

734 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