Compute Engines JSI Tip 3855. How do I determine the path that a batch file is run from? Jerold Schulman | Jul 01, 2001 In tip 0494, I described the parsing of batch parameters. To parse the path of the batch file, use: %~dp0 0 comments Hide comments Comment * Switch to plain text editorMore information about text formats Text format CommentsPlain text CommentsAllowed HTML tags: <em> <strong> <blockquote> <br> <p>Plain textNo HTML tags allowed.Web page addresses and e-mail addresses turn into links automatically.Lines and paragraphs break automatically. PublishLog in or register to comment Save Leave this field blank Recommended Reading2021 Top Enterprise IT Trends ReportDec 17, 2020Community Concerns Prompt Red Hat to Drop CentOS for CentOS StreamDec 15, 2020Amazon, Amex to Fund Software Developers in New GitHub ProgramDec 08, 2020The Rise of Nonstandard Open Source Licenses Sparks DebateNov 10, 2020 Load More