Solved

open local files using HTML

Posted on 2009-04-03
3
715 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
Comment Utility
make sure that the file is actually exist in the directory
0
 

Author Comment

by:shragi
Comment Utility
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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

If I have to fix slow responding website my first thoughts are server side optimizations: the database may not be optimized or caching is not enabled, or things like that. We often overlook another major part of our web application: the client. We o…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
The viewer will learn how to count occurrences of each item in an array.
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…

744 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

17 Experts available now in Live!

Get 1:1 Help Now