thanks for the replay but this only works if you set a command line using the native retropie "runcommand".
The thing is I have set a bunch of systems on windows with "cmd" and want to port some of them to my rpi.
I just need a native AM log or something like that.