I don't think you can do that. JS doesn't interact with the OS, just the browser. Security issue, and all that.
You can try VB, or Task Scheduler.
If anyone knows of a website that can offer ColdFusion help that isn't controlled by neurotic, pedantic jerks* (stackoverflow.com), please PM me with a link.
* The neurotic, pedantic jerks are not the owners; just the people who are in control of the "popularity contest".