Try to be more specific in your question. To write anything to a local file from a web page, you would likely need to use silverlight or flex. Browser support for writing to local files using javascript is inconsistent, bleeding edge.
–
awesomoJan 21 '13 at 19:19