SyntaxFix
Write A Post
Hire A Developer
Questions
You can also do
Pushd "%~dp0"
Which also takes running from a unc path into consideration.