By design.
Also a potential security issue. If you added a BS to a blank string, you get the root of the current ("SET DEFAULT") drive which may not be a good idea.
OTOH, if you are specific, as in ADDBS(SET("DEFAULT")) then it adds a BS to the drive letter.
>I have noticed that addbs() does not add a backslash if given an empty path. I'd expect a backslash even in that case, creating a reference to the root! I can't imagine that this was done by design. Who's at vault?
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05