I’m automating some source control software functionality using a dot bat script but given that our svn repos are hosted in a *NIX box, I’m facing the eternal case problem between these two worlds.
Is there any cmd.exe function to convert the value of the Windows system variable %USERNAME% to lower case?
Thanks much in advance!
a quick google found this…
add that as a file (lowercase.cmd) to your path and you should be able to call it as ‘Lowercase.cmd %Username%’, you could pipe it into another command if needed.