Skip to main content
added 65 characters in body
Source Link
user7818749
user7818749
echo %~f0 

works for me.

see for /? from cmd and read about variable substitution.

echo %~f0 

works for me.

echo %~f0 

works for me.

see for /? from cmd and read about variable substitution.

Source Link
PhiLho
  • 41.3k
  • 6
  • 100
  • 136

echo %~f0 

works for me.