anchor.diff:  goto :eof
   
   :main
  -set "COMMIT="
  +set "/COMMIT="
   set "MNTPT="
   set "DISMOPT= /Quiet"
   
  
positive.code: :# In verbose mode, remove the dism /Quiet option
  %IF_VERBOSE% set "DISMOPT=%DISMOPT: /Quiet=%"
  %ECHO% Unmounting image from %MNTPT%
  %EXEC% dism%DISMOPT% /Unmount-Wim /MountDir:"%MNTPT%" /%COMMIT%
  
  
negative.code: :test_args
  if .%1.==.-?. goto help
  if .%1.==./?. goto help
  if .%1.==.-c. set "/COMMIT=/commit" & goto next_arg
  if .%1.==.-d. set "/COMMIT=/discard" & goto next_arg
  if .%1.==.--debug. call :Debug.On & goto next_arg
  if .%1.==.-q. call :Verbose.Off & goto next_arg
  if .%1.==.-v. call :Verbose.On & goto next_arg
  if .%1.==.-V. echo.%VERSION%& goto :eof
  if .%1.==.-X. call :Exec.Off & goto next_arg
  :# Process optional positional arguments
  if not .%1.==.. if not defined MNTPT for %%p in (%1) do set "MNTPT=%%~fp" & goto next_arg
  
  :# Enumerate current mounts
  call :enum_mwi
  