anchor.diff:    DEL "%userprofile%\.aws\cli\cache\%1*.json"
   )
   
  -call aws s3 ls --profile %1 > nul
  +CALL aws s3 ls --profile %1 > nul
   
   IF ERRORLEVEL 1 GOTO end
   
  
positive.code: )
  
  :setregion
  call aws configure get region --profile %1 > awsume_region.txt
  IF ERRORLEVEL 1 GOTO regionerror
  
  SET /p AWS_REGION= < awsume_region.txt
  
negative.code:   ECHO SET AWS_REGION=%AWS_REGION%
    ECHO SET AWS_DEFAULT_REGION=%AWS_DEFAULT_REGION%
  )
  GOTO end
  
  :regionerror
  IF "%2"=="show" (
    ECHO "# No region set"
  )
  DEL "./awsume_region.txt"
  GOTO end
  
  
  :displayUsage
  