Shouldn't Appdrive$+appdir$+"\folder\"+"*.dll" be Appdrive$+appdir$+"folder\"+"*.dll"?
Appdir$ returns a \ at the end if i remember correctly...