go to main menu File and select "Play Game Input file"... select the file and game should start.
Newer editions of Mame don't work like this. You can only run "playback.bat", which will play that ".inp" file. You cannot select File-Playback input from the main menu, as happens in older editions