title: ofstream writing to my documents when launched remotely with shell from vba from access
body: <p>I have a vba scrip that launches a .exe this .exe is a program that writes to a file. These files are both in the same directory, and they're both using current directory as inputs and outputs for the read/write/launch. </p>
  
  <p>The .exe writes to the current directory fine, but when I launch it through shell in vba it writes to my documents. </p>
  
  <p>I genuinely have no idea why it's doing it, all I know is it shouldn't be.</p>