Solved

open local files using HTML

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
FTP File permissions 1 45
Hovering effect 9 48
File Upload Control on a ASP.NET Overlay Page 1 43
I need help embedding Base64 Images using VB.Net - When image is a .jpg 2 43
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Any business that wants to seriously grow needs to keep the needs and desires of an international audience of their websites in mind. Making a website friendly to international users isn’t prohibitively expensive and can provide an incredible return…
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

863 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now