Skip to content
Tcl Source Code View Ticket
Login

View Ticket

PATH and COMSPEC not uppercased in env on Windows

Closed / Fixed218081ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:52:58
OriginalBugID: 1677 Bug
Version: 8.0.5
SubmitDate: '1999-03-31'
LastModified: '1999-04-07'
Severity: MED
Status: Closed
Submitter: pat
ChangedBy: surles
OS: Windows NT
OSVersion: 4.0 SP3
Machine: X86
FixedDate: '2000-10-25'
ClosedDate: '1999-04-07'


Name:
Kevin Radke

Extensions:
none

CustomShell:
none

ReproducibleScript:
    echo $env(PaTh)
    



ObservedBehavior:
    This reports "Can't read "env(PaTh)": no such element in array.
    



DesiredBehavior:
    It should report the same value as:
    
    echo $env(PATH)
    
    





    According to the on-line help for TCL 8.05 on Windows NT:

    Under Windows, the environment variables PATH and COMSPEC in any
    capitalization are converted automatically to upper case.  For instance,
    the PATH variable could be exported by the operating system as "path",
    "Path", "PaTh", etc., causing otherwise simple Tcl code to have to
    support many special cases.

    This behaviour does not appear to be occurring.
----
This has been fixed.  It is related to bug IDs 1299 and 1501.  04/07/1999 15:05 - surles -
welch Closed ticket [218081ffff]. [History diff]2000-10-26 08:14:46
dgp Ticket [218081ffff]: 3 changes [History diff]2001-04-20 04:13:45
Log in (anonymous is fine) to add a comment.