Is it possible to read a file on a local machine c:\temp.txt and extract a line from the file into a varible?
If it is possible what is the method to use?
javascript doesn't have these capabilities. Reading anything on the users machine is a touchy subject and should really not be performed if a method is known.
you can use ActiveX controls but is very inconsistatn as most users are not going to allow the activeX scripting option on their browsers _________________________________________________________
for the best results to your questions: FAQ333-2924 01001111 01101110 01110000 01101110 01110100
While attempting to develop a JS Word Processor, we explored the idea of storing files on a Client machine. If the files are HTML files and you can locate them programatically, then we were able to find them and open them in a separate window.
It was a strange bit of programming...
laughing, Edward
"Cut a hole in the door. Hang a flap. Criminy, why didn't I think of this earlier?!" -- inventor of the cat door
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.