I don't think your suggestion here is a bad one, to which I'd add a link to the classic:
http://www.catb.org/~esr/faqs/smart-questions.html
UNLESS this just encourages people to do what you did initially, which was too flippant. Especially considering there'd already been a series of (helpful) replies made hours earlier. Pretty obviously, the OP was very new to programming, and didn't recognize the issue with the relative path, so s/he needed to be guided through some things anyway.
I do agree that google is a programmer's best friend and that people should be encouraged to learn to use it effectively. However, if all the search results just led to forum posts where someone is told LMGTFY -- heh-heh. What a joke that could turn out to be.