I know that %0 contains the full path of the batch script, e.g. c:\path\to\my\file\abc.bat

I would path to be equal to c:\path\to\my\file

How could I achieve that ?

8 Answers
8

Leave a Reply

Your email address will not be published. Required fields are marked *