%0 in batch file to get the containing directory of the batch file but the result is :-
I want just directory, without batch file name, like this :-
How can I do it? Maybe I should filter the path. If yes, how can I do it?