How to pass parameters to core?

How to pass parameters to core from command line? Example:

retroarch.exe -L cores\scummvm_libretro.dll “C:\roms\gob2\DISK2.STK path_to_my_scummvm.ini”

There’s no way to pass arguments from the CLI to the core. You’ll have to just put the ini in the correct place. If you need different inis for each game, I think you should be able to use game-specific overrides to point to different system directories, if that’s where it’s looking for them.