πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.tcl
Article #77

Re: something wrong with special char in "exec exploer.exe" command

#77
From: meshparts
Date: Wed, 21 Oct 2026 06:24
21 lines
2161 bytes
Am 20.10.2026 um 23:26 schrieb Luis Alejandro Muzzachiodi:
> I guess the person who could best answer this is the author of twapi 
> (Ashok P. Nadkarni).
> In any case, something to keep in mind:
> 
> Β«The START command uses the same underlying Windows Shell API 
> (ShellExecute) that explorer.exe uses when you double-click a file. It 
> looks at the file's extension, checks the registry for the associated 
> "FileType" (managed by the assoc command), and then looks up the command 
> associated with that FileType (managed by the ftype command) to launch 
> the correct program. This ensures your script respects the user's 
> personal application choices.Β» (Credit :
> https://tutorialreference.com/batch-scripting/examples/faq/batch-script- 
> how-to-open-a-file-with-its-default-program)
> 
> Alejandro

Thanks. Looks like the two methods would be equivalent.
I made my choice by counting the number of usages of each method in my 
application.
twapi won, so I'll use it.
Technical Details
Message-ID: <11b9lqc$42ve$1@tota-refugium.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.tota-refugium.de!.POSTED!not-for-mail
References: <11b5rl3$1fbh$1@tota-refugium.de> <11b724k$2ok9e$1@dont-email.me> <11b733k$28p7$1@tota-refugium.de> <11b8mad$3coa5$1@dont-email.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.tota-refugium.de!.POSTED!not-for-mail
From: meshparts <alexandru.dadalau@meshparts.de>
Newsgroups: comp.lang.tcl
Subject: Re: something wrong with special char in "exec exploer.exe" command
Date: Wed, 21 Oct 2026 08:24:06 +0200
Message-ID: <11b9lqc$42ve$1@tota-refugium.de>
References: <11b5rl3$1fbh$1@tota-refugium.de> <11b724k$2ok9e$1@dont-email.me>
 <11b733k$28p7$1@tota-refugium.de> <11b8mad$3coa5$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 21 Oct 2026 06:24:12 -0000 (UTC)
Injection-Info: tota-refugium.de;
	logging-data="134126"; mail-complaints-to="abuse@news.tota-refugium.de"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:O+mU5AOajaBaDb3e4Sc+WGDJ0l4=
X-User-ID: eJwNxsEBwCAIA8CVtJCg6wTN/iPYex2Ck11JMGFYsX3rgLPH2QGhberoa/4Je0msXIgs3fEANI8R1g==
In-Reply-To: <11b8mad$3coa5$1@dont-email.me>