title: CreateProcess() not starting process correctly
body: <p>Im trying to simply launch an application using the function below but it dosent seem to work properly. It will not launch my test app from the desktop but when i moved it to a sub folder in Downloads it worked fine. Im pulling the directory information from a config file and considering that i can launch the test app from a separate folder already, i doubt it has anything to do with my directory information.</p>
  
  <pre><code>bool StartTest(){
      char WOW_PATH[MAX_PATH];
      char WOW_PATH_FULL[MAX_PATH];
      STARTUPINFO SUI;
      PROCESS_INFORMATION PROCINFO;
  
      SUI.cb          = sizeof(STARTUPINFO);
      SUI.lpReserved  = 0;
      SUI.lpTitle     = 0;
      SUI.dwFlags     = STARTF_RUNFULLSCREEN;
      SUI.wShowWindow = SW_SHOW;
      SUI.cbReserved2 = 0;
      SUI.lpReserved2 = 0;
  
      ZeroMemory(&amp;PROCINFO,sizeof(PROCINFO));
  
      ifstream File;
      File.open("config.txt");
      File.getline(WOW_PATH,MAX_PATH);
      File.close();
  
      strcpy(WOW_PATH_FULL,WOW_PATH);
  
      strcpy(WOW_PATH_FULL,"\Test.exe");
  
      if(!CreateProcess(WOW_PATH_FULL,0,0,0,false,0,0,WOW_PATH,&amp;SUI,&amp;PROCINFO))
          return 0;
  
      CloseHandle(PROCINFO.hProcess);
      CloseHandle(PROCINFO.hThread);
  
      return 1;
  }
  </code></pre>