Tag Archives: javascript

How to remove a line from a txt file using Javascript?

Hi, I have a list of numbers such as 1 2 3 0 4 one below the other in a txt file. However, I want to remove or delete the line that contains 0, so that the resulting file would … Continue reading

Tagged , , , , , | Leave a comment

How do you write a javascript that will start a program located on my hard drive?

I tried using document.location.href = “C:\Program Files\Microsoft Office\OFFICE11\excel.exe” but in IE nothing happens. In Firefox at least I get an error message: firefox doesn’t know how to open this address because the protocol (c) isn’t associated with any program I … Continue reading

Tagged , , , , , , | Leave a comment