public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Achim Gratz <Stromeko@nexgo.de>
To: cygwin@cygwin.com
Subject: Re: Corrupt Cygwin64 install?
Date: Tue, 27 Sep 2016 18:29:00 -0000	[thread overview]
Message-ID: <87ponpw6t5.fsf@Rainer.invalid> (raw)
In-Reply-To: <87twd1w736.fsf@Rainer.invalid> (Achim Gratz's message of "Tue,	27 Sep 2016 20:06:21 +0200")

> 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

  reply	other threads:[~2016-09-27 18:12 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-21 22:35 Mike McCarty
2016-09-22 14:18 ` Ken Brown
2016-09-26 21:09   ` Mike McCarty
2016-09-27  2:00     ` Ken Brown
2016-09-27  2:18       ` Brian Inglis
2016-09-27 15:05         ` Mike McCarty
2016-09-27 17:59     ` Achim Gratz
2016-09-27 18:06       ` Mike McCarty
2016-09-27 18:12         ` Achim Gratz
2016-09-27 18:29           ` Achim Gratz [this message]
2016-09-27 20:15             ` Mike McCarty
2016-09-28  0:06               ` Brian Inglis
  -- strict thread matches above, loose matches on Subject: below --
2016-09-21 22:04 Mike McCarty
2016-09-21 22:09 ` Ken Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ponpw6t5.fsf@Rainer.invalid \
    --to=stromeko@nexgo.de \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).