To run commands like 'ls -alR /usr/gp2x > /mnt/sd/gp2xlist.txt',
you can write script like this.
#/bin/sh
mount /mnt/sd -o remount,sync
ls -alR /usr/gp2x > /mnt/sd/gp2xlist.txt
mount /mnt/sd -o remount,async
cd /usr/gp2x/
./gp2xmenu
save texts in .gpe file and run in game menu.
(windows...