SyntaxFix
Write A Post
Hire A Developer
Questions
This has always worked for me:
SET CurrentDir="%~dp0" ECHO The current file path this bat file is executing in is the following: ECHO %CurrentDir% Pause