Skip to content

Instantly share code, notes, and snippets.

@szunyog
Created July 31, 2014 07:31
Show Gist options
  • Save szunyog/07998899a054d53b90da to your computer and use it in GitHub Desktop.
Save szunyog/07998899a054d53b90da to your computer and use it in GitHub Desktop.
Getting the directory where your script is located using windows command file
set CURRENT_DIR=%~dp0
echo %CURRENT_DIR%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment