I am trying to get the current directory folder name in lowercase form.
I understand I can get the current folder name with the following:
for %I in (.) do echo %~nxI
but I have no idea on how to convert that to lowercase.
I need to use it in a single line command.
for %I in (.) do echo %~nxI
What i am after:
c:\Program Files
for %I in (.) do echo %~nxI ---edited
program files
Currently getting
c:\Program Files
for %I in (.) do echo %~nxI
Program Files