anchor.diff:  if exist webapp rmdir /S /Q webapp
   if exist deployment rmdir /S /Q deployment
   
  +
   rem ########## Building ##########
   echo;
   echo Building stkdatagui.sln...
  -%DEVENV% "..\..\YaizuComLib\src\stkdatagui\stkdatagui.sln" /rebuild Release
  +%MSBUILD% "..\..\YaizuComLib\src\stkdatagui\stkdatagui.sln" /t:clean;build /p:Configuration=Release
  +IF %ERRORLEVEL% NEQ 0 goto ERRORRAISED
   echo Building sample.sln...
  -%DEVENV% "..\src\restapi\sample.sln" /rebuild Release
  +%MSBUILD% "..\src\restapi\sample.sln" /t:clean;build /p:Configuration=Release
  +IF %ERRORLEVEL% NEQ 0 goto ERRORRAISED
   echo Building stkwebappcmd.sln...
  -%DEVENV% "..\..\YaizuComLib\src\stkwebapp\stkwebappcmd.sln" /rebuild Release
  +%MSBUILD% "..\..\YaizuComLib\src\stkwebapp\stkwebappcmd.sln" /t:clean;build /p:Configuration=Release
  +IF %ERRORLEVEL% NEQ 0 goto ERRORRAISED
   
   
   rem ########## Checking file existence ##########
   echo;
   echo Checking "stkdatagui.exe" existence...
  -if not exist "..\..\YaizuComLib\src\stkdatagui\Release\stkdatagui.exe" goto FILENOTEXIST
  +if not exist "..\..\YaizuComLib\src\stkdatagui\Release\stkdatagui.exe" goto ERRORRAISED
   echo Checking "nginx-1.12.2.zip" existence...
  -if not exist "..\..\YaizuComLib\src\stkwebapp\nginx-1.12.2.zip" goto FILENOTEXIST
  +if not exist "..\..\YaizuComLib\src\stkwebapp\nginx-1.12.2.zip" goto ERRORRAISED
   echo Checking "stkwebapp.exe" existence...
  -if not exist "..\src\restapi\Release\stkwebapp.exe" goto FILENOTEXIST
  +if not exist "..\src\restapi\Release\stkwebapp.exe" goto ERRORRAISED
   echo Checking "stkwebappcmd.exe" existence...
  -if not exist "..\..\YaizuComLib\src\stkwebapp\Release\stkwebappcmd.exe" goto FILENOTEXIST
  +if not exist "..\..\YaizuComLib\src\stkwebapp\Release\stkwebappcmd.exe" goto ERRORRAISED
   
   
   rem ########## Deployment of files and folders ##########
  
positive.code: echo Making installer...
  %DEVENV% "setup\cmdfreak.sln" /rebuild Release
  mkdir deployment
  copy setup\Release\cmdfreak.msi deployment
  
  
  rem ########## ZIP packing ##########
  echo;
  echo ZIP packing stage...
  copy ..\doc\readme\ReadmeJPN.txt deployment
  copy ..\doc\readme\ReadmeENG.txt deployment
  cd deployment
  %SEVENZIP% a cfk120.zip cmdfreak.msi
  %SEVENZIP% a cfk120.zip ReadmeENG.txt
  
negative.code: 
  
  rem ########## build complete ##########
  if not defined APPVEYOR (
    echo;
    %LCOUNTER% ..\src /subdir
    %LCOUNTER% ..\src\resource\index.html /subdir
  )
  echo;
  echo All building processes of CmdFreak have been successfully finished.
  if not defined APPVEYOR (
    pause
  )
  exit /B %ERRORLEVEL%
  
  
  rem ########## Error ##########
  :ERRORRAISED
  echo;
  echo Build error.
  if not defined APPVEYOR (
    pause
  )
  exit /B 1
  
  