anchor.diff:  :#                                                                            #
   :#  Notes 	    Quotes are necessary if the pathname contains special     #
   :#                  characters, like spaces, &, |, etc.                       #
  +:#                                                                            #
  +:#                  See "cmd /?" for information about characters needing to  #
  +:#                  be quoted.                                                #
  +:#                  I've added "@" that needs quoting if first char in cmd.   #
  +:#                  I've removed "!" as quoting does NOT prevent expansions.  #
   :#                                                                            #
   :#  History                                                                   #
   :#   2010-12-19 JFL Created this routine                                      #
  
positive.code:     )
    )
  )
  endlocal & set "RETVAL=0" & %RETURN%
  
  :#----------------------------------------------------------------------------#
  
  
negative.code: echo."%P%"|findstr /C:" " /C:"&" /C:"(" /C:")" /C:"@" /C:"," /C:";" /C:"[" /C:"]" /C:"{" /C:"}" /C:"=" /C:"'" /C:"+" /C:"`" /C:"~" >NUL
  if not errorlevel 1 set P="%P%"
  :condquote_ret
  %UPVAR% %RETVAR%
  %RETURN%
  
  :#----------------------------------------------------------------------------#
  
  :# Check that cmd extensions work
  :check_exts
  verify other 2>nul
  setlocal enableextensions enabledelayedexpansion
  if errorlevel 1 (
    >&2 echo Error: Unable to enable command extensions.
    endlocal & set "RETVAL=1" & exit /b
  )
  set VAR=before
  if "%VAR%" == "before" (
  