anchor.diff:  RMDIR /Q /S  %RELEASE_PATH%\CMSIS
   RMDIR /Q /S  %RELEASE_PATH%\Device
   DEL %RELEASE_PATH%\LICENSE.txt
  -DEL %RELEASE_PATH%\zip.log
   
   ECHO gen_pack.bat completed successfully
  
positive.code: FOR %%A IN (Core, Core_A, DAP, Driver, DSP, General, NN, Pack, RTOS, RTOS2, SVD, Zone) DO IF EXIST %%A (RMDIR /S /Q %%A)
  POPD
  
  
  :: Checking 
  Win32\PackChk.exe %RELEASE_PATH%\ARM.CMSIS.pdsc -n %RELEASE_PATH%\PackName.txt -x M353 -x M364 -x M335
  
  
negative.code: 
  :: Pack files
  ECHO Creating pack file ...
  7z.exe a %PackName% -tzip > NUL:
  ECHO Packaging complete
  POPD
  GOTO End
  