Deutsch English Français Italiano |
<vdegg2$29idv$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Michael Soyka <mssr953@gmail.com> Newsgroups: comp.lang.tcl Subject: how to pass /E:ON argument to cmd.exe using exec (Windows) Date: Mon, 30 Sep 2024 11:35:30 -0400 Organization: self Lines: 20 Message-ID: <vdegg2$29idv$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Mon, 30 Sep 2024 17:35:30 +0200 (CEST) Injection-Info: dont-email.me; posting-host="4fd56f04d9d4f620ef90eb1efdc2f2eb"; logging-data="2410943"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+oyQ0QXvia/W5GPV3OWq/e" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:Jj7iae7aDfDlX79DFdP1375UEUM= Content-Language: en-US Bytes: 1423 For a change of pace, this will not be a Tcl 9 question (I'm using 8.6.14). Using tclsh, why does this succeed: exec -- cmd /C dir but this fails: exec -- cmd /C /E:ON dir with this message : "The filename, directory name, or volume label syntax is incorrect." I'm guessing that "exec" is treating /E:ON as a file spec (the colon maybe?) and then changes it somehow. A followup question is how can I see what string is being presented to to Windows? Thanks for answering. -mike