Skip navigation

JSI Tip 3855. How do I determine the path that a batch file is run from?

In tip 0494, I described the parsing of batch parameters.

To parse the path of the batch file, use:


Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.