El 19/10/2026 a las 16:39, meshparts escribió:
> I'm using in Tcl with Windows
>
> exec explorer.exe /e, "[file nativename $path]" &
>
> to open files with the OS default program.
>
> Now I have an issue with a text file path that contains "=" in the file name, e.g. t=4.out
>
> The issue seems to be explorer.exe which does not like the "=" sign.
> If I execute the command in cmd.exe and use double quotes, then the command works:
>
> explorer.exe /e, "t=4.out" &
>
> But executed from Tcl, it does not:
>
> exec explorer.exe /e, "t=4.out" &
>
> The result is, that the given file is not found and a generig Explorer window is opened instead of the file in my default text editor.
>
> I tried to force the double quotes by using \" and so on, but nothing worked.
>
> Any ideas?
>
> Thanks
> Alex
>
>
Hello,
may be with twapi ?
For example,
package require twapi
::twapi::shell_execute -path "c:\\temp\\a=b.tcl"
Alejandro