Well IE 8 does not use JavaScript. It uses MS proprietary JScript, which is functionally the same as JavaScript but also can perform actions not permitted by JavaScript.
1. You have access to the File System Object, FSO,
2. If permissions on the computer are correct you have access to the Windows Scripting Shell, or wshell for short.
Wshell may allow you to do this alone, but you may need FSO as well.