Code: Select all
c:\Users>for %a in ("%cd%") do @echo %~fa
C:\Users>for %a in ("%cd%") do @echo %~fa
I was startled to see this behavior with regard to the displayed case of the drive letter. Given that the path is always displayed with the case used in the actual folder name, I assumed the drive letter would display either all upper or all lower. (I assumed all upper)
I ran this in Vista.
Has it always been like this Are there any versions that act differently
I can't remember for sure how DOS worked, but it seems like it was always upper case...
or I could be crazy...
or both could be true