and my bet is, it is "h:\" and thus making the check translate to:
if exist("h:\\ts-menu\")
_________________________
!

download KiXnet