anchor.diff:      rem Start all Cygwin services.
   
       rem Start syslogd first.
  -    for /f "usebackq" %%s in (`%_ROOTDIR%\bin\cygrunsrv.exe --list`) do (
  +    for /f "usebackq" %%s in (`"%_ROOTDIR%\bin\cygrunsrv.exe" --list`) do (
           if "%%s" == "syslogd" call :start_service %%s
       )
       rem Start rest of services.
  -    for /f "usebackq" %%s in (`%_ROOTDIR%\bin\cygrunsrv.exe --list`) do (
  +    for /f "usebackq" %%s in (`"%_ROOTDIR%\bin\cygrunsrv.exe" --list`) do (
           if not "%%s" == "syslogd" call :start_service %%s
       )
  -goto :eof
  -
  -
  -:get_setup_exe
  -    rem Download latest setup.exe.
  -    if not exist %_ROOTDIR% (
  -        echo %_PREFIX% Creating %_ROOTDIR%
  -        mkdir %_ROOTDIR%
  -    )
  -    echo %_PREFIX% Fetching latest setup.exe from cygwin.com
  -    wget --quiet -O %_ROOTDIR%\setup.exe http://cygwin.com/setup.exe
   goto :eof
   
   
   :check_for_cygwin_proc
       rem Check for any Cygwin processes.
       echo %_PREFIX% Checking for running Cygwin processes
  +    if not exist "%_ROOTDIR%\bin\ps.exe" exit /b 0
       set _TEMPFILE=%TEMP%\cygwin_setup.txt
       :retry
  -        %_ROOTDIR%\bin\ps -l | findstr /v /c:"/usr/bin/ps" > %_TEMPFILE%
  +        "%_ROOTDIR%\bin\ps.exe" -l | findstr /v /c:"/usr/bin/ps" > %_TEMPFILE%
           findstr /v /r /c:"PID.*COMMAND" %_TEMPFILE% | findstr /r /c:"^..*" > NUL:
           if ERRORLEVEL 1 goto :ignore
           echo %_PREFIX% Found running Cygwin processes
  
positive.code:     if %ERRORLEVEL% NEQ 0 goto :eof
  
      echo %_PREFIX% Configuring syslogd
      if not exist %_ROOTDIR%\bin\syslogd-config (
          echo %_PREFIX% ERROR: inetutils not installed
          goto :eof
      )
      %_ROOTDIR%\bin\bash --login -i -c "/usr/bin/syslogd-config"
  goto :eof
  
  
  
negative.code: :stop_services
      rem Stop all Cygwin services.
      if not exist "%_ROOTDIR%\bin\cygrunsrv.exe" goto :eof
      for /f "usebackq" %%s in (`"%_ROOTDIR%\bin\cygrunsrv.exe" --list`) do (
          echo %_PREFIX% Stopping %%s
          "%_ROOTDIR%\bin\cygrunsrv.exe" --stop %%s
      )
  goto :eof
  
  