anchor.diff:  
   echo Vagrant is installing
   start /wait /b C:\vgrant.msi
  +
  +set restart="true"
  +
   GOTO findVBox
   
   :mainProcess
  -echo ...........................................................   
   
  -echo Check Environment Variable
  -
  -set pathToInsert=%ProgramFiles%\Oracle\VirtualBox
  -setx path "%pathToInsert%;%PATH%" 
  -
  -echo ...........................................................   
  +echo.
   
   :: delete temp file
   IF EXIST c:\vgrant.msi del c:\vgrant.msi
   IF EXIST c:\vbox.exe  del c:\vbox.exe 
   
  -setlocal
  -:PROMPT
  +if %restart% EQU "false" GOTO END
  +
  +
   SET /P AREYOUSURE=Do you want to restart your computer now. It will apply changes and config (y/N)?
  +
  +
   IF /I "%AREYOUSURE%" NEQ "Y" GOTO END
  -	shutdown.exe /r
  +
  +shutdown.exe /r
  +
   :END
  -endlocal
  -
   
   pause
   
  
positive.code: echo Virtual Box is installing
  START /wait /b C:\vbox.exe
  
  GOTO mainProcess
  
  echo ...........................................................   
  
negative.code: 
  :findVBox
  echo.
  echo ..............Findding virtualbox.............
  echo.
  
  for /F "skip=1 tokens=1" %%b in ('wmic product where "Name like 'Oracle VM VirtualBox%%'" get Version') do (
  	set "item=%%b"
  	call :removeCR
  	if !vboxV! EQU 0.0 (
  