The MASM Forum Archive 2004 to 2012

Miscellaneous Forums => 16 bit DOS Programming => Topic started by: Rockphorr on June 13, 2006, 10:19:21 AM

Title: about enviroment
Post by: Rockphorr on June 13, 2006, 10:19:21 AM
Which envirvars are case censitive??

I create enviroment for child command.com with 'prompt=$p$g',0
This was no effect.
The effect was after convertion to upper case:  'PROMPT=$p$g',0
Title: Re: about enviroment
Post by: MichaelW on June 13, 2006, 11:49:19 AM
Either case, or mixed case, works for me under Windows 2000 and Windows 98SE. Environment variables were not case sensitive under MS-DOS, and I thought Windows continued this convention.

Title: Re: about enviroment
Post by: Rockphorr on June 13, 2006, 11:58:58 AM
Quote from: MichaelW on June 13, 2006, 11:49:19 AM
Either case, or mixed case, works for me under Windows 2000 and Windows 98SE. Environment variables were not case sensitive under MS-DOS, and I thought Windows continued this convention.

I was agree with you until yesterday. This BUG with prompt var was found under Windows 95.
Set command always converts to upper case.