HTML and javascript alone might not cut it for what you want. You would probably need to use some sort of ActiveX script to do what you are looking for. I can't help you for that, but if you want to do the webserver version (install XAMPP or WAMP or whatever first), here is the PHP. I grabbed a bunch of snippets off the web and added some code to make this. It may work, it may not. You may have to tweak it, but it should be the very basic version to get the job done. Let me know.