79103202

Date: 2024-10-18 18:05:35
Score: 0.5
Natty:
Report link

One solution if you know the file name:

set fullpath=%~f0
set dirpath=%fullpath:NAME_OF_UR_FILE.EXT=%

You may be able to use vars like $n0 with this, but this was good enough for my use case

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: JattCode113