@tomcat91fr said in Can't mount NAS drive for Roms:

Main mistake : I was working from my PC via a Telnet connection, and was editing my file autostart.sh with a windows editor ! Big mistake !!

You can access the config folder via file shares (\\retropie\config), you don't necessarily need the SSH (Telnet is not available on the Pi) connection. Either way, it's strange because nowadays Notepad (default Windows editor) supports Unix line endings.

Either way, good you have this solved - when in doubt, use Notepad++ or edit directly on the Pi, using nano.