X-Spam-Check-By: sourceware.org Message-ID: <31b7d2790701091419m14d3bd8m15d136e75b62da39@mail.gmail.com> Date: Tue, 9 Jan 2007 22:19:12 +0000 From: "DePriest, Jason R." To: cygwin AT cygwin DOT com Subject: Re: username should be lower-case for $USER In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <8241120 DOT post AT talk DOT nabble DOT com> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On 1/9/07, Shankar Unni wrote: > TDavid Smiley wrote: > > I am new to Cygwin. I noticed that the $USER environment variable has my > > username in upper-case. So it is "DSMILEY". > > As David said, that's because you created your username in ALL UPPERCASE > when setting up the user on Windows. > > The only way to "fix" this for you would be to rename your Windows user > to have a lower-case name. (If windows allows that operation..) > > My user ID is numbers only so I cannot test this. The suggestion of just renaming your user account is actually the easiest one if you have administrative rights in your domain. But I do have a few other suggestions in case you don't. Since Windows is not a case-sensitive operating system and since the $USER environment variable is dynamically populated when you logon, try logging on with your user name as 'dsmiley' instead of 'DSMILEY' and see if that changes the environment variable. If it doesn't, you may be able to fix it by deleting your user profile and then logging on with your user name in lower case. As I said, Windows is not case-sensitive as far as user names go. You can log on as 'DSMILEY', 'dsmiley', or 'DsMiLEy' and it will work. But I don't know if it will change your $USER environment variable because I don't know exactly how Windows populates it. -Jason -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/