T
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?
- [H] Windows 7 environment variables Thane Sherrington
- Re: [H] Windows 7 environment variables Thane Sherrington
- Re: [H] Windows 7 environment variables Stan Zaske
- Re: [H] Windows 7 environment variables Thane Sherrington
- Re: [H] Windows 7 environment variables Thane Sherrington
- Re: [H] Windows 7 environment variables Christopher Fisk
- Re: [H] Windows 7 environment variables Thane Sherrington
- Re: [H] Windows 7 environment variables JRS
- Re: [H] Windows 7 environment variables Thane Sherrington
- Re: [H] Windows 7 environment variables Eli Allen
- Re: [H] Windows 7 environment variables Thane Sherrington