title: Can't remove file previously created by the application in Qt 4.8 on Win 7
body: <p>I've copied a .bat-file from Qt-ressources to a file system and executed it.
  After that I wanted to delete the file, but it fails in Qt. If fails also when I restart the application. However, the file can be removed in the file-explorer.</p>
  
  <p>I tried <code>QFile::remove</code> as well as <code>QDir::remove</code>. Static as well as not-static versions - no effect. 
  I tried to call using native file-separator - didn't help either.</p>
  
  <p>What is wrong with this code?</p>
  
  <pre><code>if ( QFileInfo( dataRootPath+"/backupdb.bat" ).exists() )
  {
      //debugger stepps in
      QFile f( QFileInfo( dataRootPath+"/backupdb.bat" ).canonicalFilePath());
      f.remove(  );
  }
  </code></pre>