I did read the manual and the example I used from the manual doesn't work. Anyway, the code below works fine.

If Exist ("%USERPROFILE%\Start Menu\Programs\Sentry Spelling Checker Engine")
Shell 'CMD /C RD /s /q "%USERPROFILE%\Start Menu\Programs\Sentry Spelling Checker Engine"'
EndIf