title: How to open file in same directory with c++?
body: <p>Im curently using this code to open the file in the c:\ directory. But I have to place "aimagem.bat" in the directory to work properly.</p>
  
  <pre><code>ShellExecute ( 0,"open","C:\\aimagem.bat.",NULL,NULL,SW_NORMAL);
  </code></pre>
  
  <p>Is there a way to open "aimagem.bat" if it's located inside the same folder my project is?
  Thanks in advance.</p>