In the first example, you need to enclose the whole path in double quotes ", because the folder names contain space characters.
And don’t insert the “larger than” character after the C:
Use a backslash.
"C:\Program Files (x86)\Plex\Plex Media Server\DBRepair-Windows.bat"