@jayuni100 see here:
/opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ "<SYSTEM>" "<ROM>" To automatically start a specific system and a game directly instead of EmulationStation, you need to edit /opt/retropie/configs/all/autostart.sh and add the above line (again replacing the variables with your own values). Then, in the same file, remove any line containing #auto entirely to avoid EmulationStation or KODI to autostart again.