Deutsch English Français Italiano |
<100aepq$frvv$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: saito <saitology9@gmail.com> Newsgroups: comp.lang.tcl Subject: Re: Problems with paths of Windows Date: Sat, 17 May 2025 12:51:05 -0400 Organization: A noiseless patient Spider Lines: 18 Message-ID: <100aepq$frvv$1@dont-email.me> References: <100ae16$fom5$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sat, 17 May 2025 18:51:07 +0200 (CEST) Injection-Info: dont-email.me; posting-host="3d9a420e5d8b99a4e7a15b31b706dc36"; logging-data="520191"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19uEhU87lSJhJtYJ1pEIbIh" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:se9iQ8lvrUhgcbGeoCwbVcmVHjg= Content-Language: en-US In-Reply-To: <100ae16$fom5$1@dont-email.me> Bytes: 1672 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 \;]"