title: I’m not getting output for the if statement in batch script
body: <pre><code>@echo off 
  set a=2,113 MB
  for /f "tokens=2* delims=:" %%a in ('systeminfo ^| findstr /I /C:"Total Physical Memory"') do set r=%%a
  
  echo available RAM IS %r%
  pause
  if "%r%" gtr "%a%" 
  (
  echo "proceed"
  )
  else (
  echo "no"
  )
  pause
  </code></pre>