delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/09/27/14:12:52

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:subject:references:date:in-reply-to
:message-id:mime-version:content-type:content-transfer-encoding;
q=dns; s=default; b=aELvYdxZm4EVliRHJxsaTv3hSysjSGg4vbd+n2l2sgx
Vt9cElq7fu5z3RTxBRyYeg4xZDqpiH+dKix37R8lIbBCv0AiHQxScCXec929iNGQ
8aOo27eltcKxmIcerZN0g9Jc7WG9LVsTKKa3oS9vUkHGzmvbGMoS0wSlkpQ8BMU8
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:subject:references:date:in-reply-to
:message-id:mime-version:content-type:content-transfer-encoding;
s=default; bh=9bMxU1f7RB4oc5hLR7ArXY4d22U=; b=s4+KqNvX7RBfzc3K1
VMyoF22qaJok15y35DJODE6+c9pb4fsmhLVnVCDLTmZdZJXWiT9+hESpqht/E5fb
jIizKn94S9cpafm7CV6J3Q5KP0EXxsnzeNT6SLvabiHgA5AOhy47Fu6V+i1vmmts
UccTa+NQnKUoePnaLc01PVhMAU=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=rem, REM, H*i:sk:87twd1w, H*f:sk:87twd1w
X-HELO: mail-in-09.arcor-online.net
X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-05.arcor-online.net 3sk87V69HGzmJ0
From: Achim Gratz <Stromeko AT nexgo DOT de>
To: cygwin AT cygwin DOT com
Subject: Re: Corrupt Cygwin64 install?
References: <CACt7iwm_4gZMTiETfoTmm7ue_dgzNnkFmOwb-3Lu+fsEb1UNEw AT mail DOT gmail DOT com> <4d6d5c2c-f724-5a00-ba6c-fdf5ac220495 AT cornell DOT edu> <CACt7iwkxqeKxYxjYp=G8SwbzXyPAqDbX1veM3pEMhy3XRtLqRw AT mail DOT gmail DOT com> <87a8etxnon DOT fsf AT Rainer DOT invalid> <CACt7iwnpDJfXq+MhVn_kgJSBS1BKYNp9qVE98=3ahBYFb2caVQ AT mail DOT gmail DOT com> <87twd1w736 DOT fsf AT Rainer DOT invalid>
Date: Tue, 27 Sep 2016 20:12:22 +0200
In-Reply-To: <87twd1w736.fsf@Rainer.invalid> (Achim Gratz's message of "Tue, 27 Sep 2016 20:06:21 +0200")
Message-ID: <87ponpw6t5.fsf@Rainer.invalid>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)
MIME-Version: 1.0
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id u8RIClcQ015038

> Mike McCarty writes:
>> Ooo...  You still have that script lying around?  ;^)

Hit send too soon…  That reg file needs to be combined with actually
adding the exclusion, which I did inside the batch script that also
updated Cygwin:

@ECHO OFF
REM ############################################################
SETLOCAL
SETLOCAL ENABLEEXTENSIONS
SETLOCAL ENABLEDELAYEDEXPANSION
REM ############################################################
SET CYGWIN_INSTALL=\\full\path\to\Cygwin
SET REM=ECHO.
SET TM_EXCLUDED_FOLDER="HKLM\Software\TrendMicro\PC-cillinNTCorp\CurrentVersion\Real Time Scan Configuration" /V "ExcludedFolder"
FOR /F "usebackq tokens=2* delims=       " %%O IN (`REG QUERY %TM_EXCLUDED_FOLDER% 2^> NUL ^| FIND "REG_SZ"`) DO (
  %REM%ECHO "%%P" | FIND /V /I "C:\Programs|" 1>NUL 2>NUL
  IF ERRORLEVEL 1 (
    ECHO unchanged ExcludedFolders: %%P
  ) ELSE (
    IF NOT DEFINED OPTION_NOREGEDIT (
      %REM%REG ADD %TM_EXCLUDED_FOLDER% /D "%%P%CYGWIN_INSTALL%|" /F 1>NUL 2>NUL
    )
    ECHO extended  ExcludedFolders: %%PC:Programs^|
  )
)


Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Wavetables for the Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#BlofeldUserWavetables

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019