Quote: "I should be able to open a file, read the name of the image (BMP) into a variable, img$ and then load bitmap img$, 1 right?"
Yes.
Quote: "That should work fine."
It does.
Quote: "That code is near perfect."
Indeed. The important word is "near".
The original code works perfectly - but you won't see anything on the screen unless you do something which puts the bitmap on the screen in some way. For example, this works fine for me:
open to read 1, "config.txt"
read string 1, imgpath$
load bitmap imgpath$, 1
set current bitmap 0
copy bitmap 1, 0
wait key