Why doesn't this work: Run ( "%programfiles%\FlashFXP\Flashfxp.exe", "%programfiles\Flashfxp\", "" ) When I try that, it says "Cannot find 'd:\program files\flashfxp\flashfxp.exe'" Yes, my program files directory is on drive d: and yes, if I click start->run and type "%programfiles%\FlashFXP\Flashfxp.exe," it works just fine. It also works just fine if I click start->run and type "d:\program files\flashfxp\flashfxp.exe." What gives? Any way that I could do this using @ComSpec? I'm using AutoIt v3, btw. PS- I'm currently using the following Send ("#r") ControlClick ( "Run","","edit1","","2" ) Send ("%programfiles%\FlashFXP\flashfxp.exe{Enter}") But I've had some problems with that one if my computer is running slow. Besides, that won't exactly work on my unattended xp disc as there is no start button during the XP install.