I have searched and searched to no avail so apologies if the answer does exist.
I am not very good with batch files so please keep this in mind.
All I am after i
print all folders name where batch script file is kept
for /d %%d in (*.*) do ( set test=%%d echo !test! ) pause