title: Can the last opened file location be directly altered?
body: <p>As I understand it, when a file open dialog box (such as <a href="http://msdn.microsoft.com/en-us/library/windows/desktop/ms646927%28v=vs.85%29.aspx" rel="nofollow">GetOpenFileName</a>) is used, Windows will automatically remember where the last file was that was opened by the program, and Windows remembers these locations separately for each program. Is there a way to directly alter this, in order to cause the file picking dialog for program X to start in C:\Example\Directory? </p>
  
  <p>I'm attempting to automate a program which has been programmed to work only through a GUI, and I don't have any access to the internals of this program (such as being able to alter how it calls the file picker). Instead, I'm using a mouse macro (via <a href="http://www.autohotkey.com/" rel="nofollow">AutoHotkey</a>). If I can be completely sure that the file picker will start in a particular place, I should be able to automate the rest with mouse clicks.</p>