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: :#                  Display a notice and stop if there's no mounted image.    #
  :#   2013-11-12 JFL Use my latest debugging framework.                        #
  :#                  Fixed bug in detection of mount RW/RO mode.               #
  :#   2018-06-14 JFL Fixed bug with default /commit or /discard.		      #
  :#                  Fixed bug if the mount point is relative or has no drive. #
  :#                                                                            #
  :#          Copyright 2018 Hewlett Packard Enterprise Development LP         #
  :# Licensed under the Apache 2.0 license  www.apache.org/licenses/LICENSE-2.0 #
  :##############################################################################
  
  setlocal enableextensions enabledelayedexpansion
  set "VERSION=2018-06-14"
  set "SCRIPT=%~nx0"
  set "ARG0=%~f0"
  
  