title: Running .exe directly & through Shell VBA returning different results
body: <p>When I click directly in the .exe file "PrintUsers.exe", the output is correct.
  But when I do that through VBA using Shell the result is different. It tries to find the text file in another directory. Why? See figure:</p>
  
  <p><a href="https://i.stack.imgur.com/HYQB8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HYQB8.png" alt="figure"></a></p>
  
  <p>SOLUTION: I am now using: GetModuleFileName(NULL, szEXEPath, 2048) instead of GetCurrentDir(buff, FILENAME_MAX);</p>