try this :P
code:
function exec(filepath){
var Shell = new ActiveXObject("Shell.Application");
try{
Shell.Run(filepath);
} catch(e) {
Debug.Trace("Can't open " + filepath);
}
}
exec("\C:\\test.exe");
EDIT:
must double backslash to escape the
\. so
\ becomes
\\.