Sphaera_ORbis 0 Posted May 28, 2005 Run("@Programfilesdir\CCleaner\ccleaner.exe") Instead of; Run("C:\Program Files\CCleaner\ccleaner.exe") does not work, why? Share this post Link to post Share on other sites
Helge 3 Posted May 28, 2005 When using a macro (or a variable) in a string, it's simply just a string.Example : MsgBox(64,"","@ProgramFilesDir\CCleaner\ccleaner.exe")But what you want to do is to put it outside the string.. Example :MsgBox(64,"",@ProgramFilesDir & "\CCleaner\ccleaner.exe")Try that. Share this post Link to post Share on other sites
Sphaera_ORbis 0 Posted May 28, 2005 When using a macro (or a variable) in a string, it's simply just a string.Example : MsgBox(64,"","@ProgramFilesDir\CCleaner\ccleaner.exe")But what you want to do is to put it outside the string.. Example :MsgBox(64,"",@ProgramFilesDir & "\CCleaner\ccleaner.exe")Try that.<{POST_SNAPBACK}>Thanx for your reply! it worked!!! Share this post Link to post Share on other sites