@hubbachubba looks like you're having problems for editing scripts on windows and then trying to run them on Linux.
Something like what this guy was having here.
Also, keep in mind what I posted on the OP:
UPDATE: The method described here became outdated after @pjft implemented custom collections to EmulationStation.
I'll keep the post for historical reasons, but I recommend you to use the ES custom collection feature instead.
@Global-Moderators could you guys please lock this thread? The trick in the OP became outdated and this topic exists only for historical reasons. Thanks in advance.