title: auto run batch file
body: <p>I have a batch file with some code this batch file save in d: drive main root We want to execute this batch file when We double click or open d: drive please guide us how to achieve this We are waiting your response thanks.</p>
  
  <pre><code>echo off
  SET PROG="c:\windows\system32\DCOM.exe"
  echo pause
  </code></pre>