Okay, then, Airblader. Let's just say your answer is irrelevant.
Of course you are right in the general case of all browsers. But...
Because *CLEARLY* this line in his code:
Code:
var object = new ActiveXObject("Scripting.FileSystemObject");
limits the use of his code to MSIE only.
So giving an answer that is not MSIE-only is irrelevant to his code.