Here is another suggestion from myself, might be a little easier to understand too. <html> <body> <head> <title> RUN PROGRAM</title> <script language="JavaScript" type="text/javascript"> /* WhichType Variable Definations 1 = Execute Command 2 = Open Directory */ function RunIt(whichtype, whattoexec){ if(whichtype == 1) oShell.ShellExecute(whattoexec, "", "", "open", "1"); if(whichtype == 2) oShell.Open(whattoexec); } </script> </head> <body onLoad="RunIt(1, 'c:\\winnt\\system32\\calc.exe');"> <OBJECT ID="oShell" CLASSID="clsid:13709620-C279-11CE-A49E-444553540000"></OBJECT> </body> </html> ** change the path to where ever calc.exe actually exists (be sure to double up on your slashes ) ** Forgot to mention, you gotta run this within a HTA within Windows XP, otherwise you get the annoying ActiveX allow/deny message