DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 53BGVIhG3867226 Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 53BGVIhG3867226 Authentication-Results: delorie.com; dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=uBfFf8IM X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B9EF9382FC99 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1744389077; bh=c8V99dPK/HrmbxpSEbAoLWKHFJU6d0mCE1KK0Z+JmN8=; h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=uBfFf8IMBnCW8WZiAQUF/S1Lb7Bz5flfiaegfODAYxQuM21tPOmkO8XiGke8RbIvq bsge4vM6j250M9ZmQtEsQxuTnwEe8lY9VRVGh0XJMETn5icuX+sbJQbaCpIdNXvM6H LZhHVd40UQ4Hfs09rSItDXIa40rnle6PxpKoDnN4= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org AC7633860770 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org AC7633860770 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1744389051; cv=none; b=sljCz5UE+xfJydpH2RA37rXxOkRMra2/39x0VyModvqfzkfnVj1k7eZHaShC50y35hwLj6RrKOop0DXjWGGDbaKX/l3oxIrAed3Hd+7I9JkL5JaSuWWTcDohzfdoMF3EHkJOQ0BItZFRgDwv6o1GU9ynNjQsLWRmgANRd2biJFQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1744389051; c=relaxed/simple; bh=BCVNR1QwfAzEtsi+wu3NgXINaqu7TfmWvu+Y5adWt4A=; h=Message-ID:Date:MIME-Version:From:Subject:To:DKIM-Signature; b=MratNYr3EUXaLxnuhQe6ALMxMSws5dwg2HDCbgHNA7N5Gc9LLqXaLpDEjWyIDXAVRvWRrZy+HyS3wJ2nZOeikTbvoC/dDw/LHF22NK5/zWbViGOZGhhNJe153bPl7XtDHzlT/ucx7GmJHtyrk5ex4/ssYjLvobHxynZsnflLUZ0= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AC7633860770 Message-ID: <294d1297-bfe2-47ed-960d-eb2d54af9318@SystematicSW.ab.ca> Date: Fri, 11 Apr 2025 10:30:48 -0600 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Modify bash shell script so it runs in elevated admin mode on Win explorer double click? Content-Language: en-CA To: cygwin AT cygwin DOT com References: Organization: Systematic Software In-Reply-To: X-Stat-Signature: yur86n1ioq3pjzywwkirc5ziqini5umn X-Rspamd-Server: rspamout04 X-Rspamd-Queue-Id: BF08060011 X-Session-Marker: 427269616E2E496E676C69734053797374656D6174696353572E61622E6361 X-Session-ID: U2FsdGVkX18YBjaQHDfl21GwqMQdaFK1hIcaswND6xg= X-HE-Tag: 1744389049-893045 X-HE-Meta: U2FsdGVkX19xiioKWEBS7UPtwuDqoeZ+DuvJKstd9woIJVJsjQ2mwbYuTL2D+9ufV3giUW5dgfQ3gaW9/68FCmU2iTQZe6i3iMCkD+t44eA3jM9pSA2Q+T6mEGMWrn+97PZwKK/jHsVDJFUMKIDgipJz58YI/+tRbZygOSnFRLk0xOII0t9kMcc0awewbkwW1KDhoAIwGOSn8D+dxF3yFZhOuxHXkbEFJHb1V+EmCDefACphBqSNBNVllyCFKz7OT1xnpaCyDXwN9UzIWm5OOYutfmF7Bq3g/kZWmrY2OpTH15DLt1TkVNvtS1kvMttCysrnAgPcA+26BsdffBtQnxtESGeymzgk X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Brian Inglis via Cygwin Reply-To: cygwin AT cygwin DOT com Cc: Brian Inglis Content-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 53BGVIhG3867226 On 2025-04-11 10:21, Mark Liam Brown via Cygwin wrote: > Greetings! > > How can I modify a Cygwin bash script so it runs in elevated > Administrator mode when someone double-clicks it in Windows Explorer? Use a Run as admin shortcut? -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfection est atteinte Perfection is achieved non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add mais lorsqu'il n'y a plus rien à retrancher but when there is no more to cut -- Antoine de Saint-Exupéry -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple