Sujet : Re: Problems with paths of Windows
De : saitology9 (at) *nospam* gmail.com (saito)
Groupes : comp.lang.tclDate : 17. May 2025, 17:51:05
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <100aepq$frvv$1@dont-email.me>
References : 1
User-Agent : Mozilla Thunderbird
On 5/17/2025 12:37 PM, Luis Alejandro Muzzachiodi wrote:
Hello,
I have a procedure that accepts a list of paths.
Assuming "$::env(SystemRoot)\my dir" is passed as a parameter, is there a way to process this so that it's interpreted correctly in the end?
I've tried combinations of { }, [list], [file normalize], [file nativename] but that didn't work.
(Working in Windows, tcl 8.6)
It is not clear what you are asking.
Are you trying to append a parameter to a list? You do "lappend mylist $parameter"
Are you trying to modify the Windows path env variable? It is just a string separated by commas: "append env(path) \;[join $mylist \;]"