The best way is to do it like in Total Commander - press F2 once to select name + extension; then if you press F2 once more only name will be selected.
Thanks, good idea.
p.s. and while we are at it, let's change it to shift-F6 like in TC ;))
Sorry, I do not want to change that. Shift-F6 is already occupied in WinSCP.