The syntax looks about right. Try Dir$ instead.