How to UPCASE string in bat files?



For example %cd% returns the current path. How to make what %cd% returns be all in the upper or in lower case?
Thanks
.