if exist "%userprofile%\Escritorio" (set "ruta=%userprofile\Escritorio") else ( if exist "%userprofile%\Desktop" (set "ruta=%userprofile%\Desktop"))