I'm in a Windows Command Line and want the parent folder in a variable.
Assuming current directory is "C:\foo\bar", how can I get the value "bar"?
I'm expecting something like a "find last backslash in CD and that's it".
And please, no powershell references; I want plain old Windows Command Line operations.