title: .bat current folder name
body: <p>In my bat script, I'm calling another script and passing it a string parameter</p>
  
  <pre><code>cscript log.vbs "triggered from folder &lt;foldername&gt; by Eric"
  </code></pre>
  
  <p>The string parameter as you can see contains the name of the folder from which the script is being called. What's the right way to pass this dynamically insert this folder name to the script?</p>