title: How can I close a specific file using a batch command
body: <p>I'm trying to create a batch file that opens up an Access file. (Presses enter), and then closes the Access file again. I'm a complete noob  to batch file's, and the only part I got working was the open file part.</p>
  
  <pre><code>Start ""  "W:\Motorenfabriek\World Class Manufacturing\Verspaning\Area 1\PROVO Applicatie\Database tabellen\TblStoringDienst.accdb"
  </code></pre>
  
  <p>When I run this code the application opens. Problem is within the organisation you first have to press enter before you can work with your Access file. </p>
  
  <p>I know this question has been asked before, but I haven't seen any working answers yet.</p>
  
  <p>I tried the code beneith to close the application again but this isn't working. The application stays opened:</p>
  
  <pre><code>taskill /f /im "W:\Motorenfabriek\World Class Manufacturing\Verspaning\Area 1\PROVO Applicatie\Database tabellen\TblStoringDienst.accdb"
  </code></pre>
  
  <p>I only want this file to close, not all Access instances because there is running another one aswell.</p>