Jump to content

- - - - -

ShellExecute start in

  • Please log in to reply
No replies to this topic

#1 JonF


    Gold Member

  • .script developer
  • 1185 posts
  • Location:Boston, MA
    United States

Posted 02 January 2008 - 12:49 AM

Using WinBuilder 074, it appears that when I ShellExecute a program the current directory is the directory containing WinBuilder.exe. This confuses at least one program (HijackThis Hotkey, http://hometown.aol....137/HJTHotkey/), and to make its update function work I have to execute a batch file in the HTHotkey dorectory which changes to that directory and then runs HJTHotkey /update. I suppose you could argue whether or not this is bad programming, but it is something that happens.

It would be nice to have a "Start In" argument added to ShellExecute, but if that's not possible perhaps always starting in the driectory of the target executable could be added?

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users