I have a little batch file that uses %username% to do some stuff. That works fine in Windows XP and Vista, but in 7, it becomes username-PC$ - so if the username is Fred, %username% is Fred in XP and Fred-PC$ in 7. Of course, that breaks the batch file. Am I doing something wrong or did MS really change this?

T


Reply via email to