Was messing around with som of my login scripts today, and was trying redo a check I did to see if my clients fileserver was available on their local subnets.

This was done by just using EXIST("\\server\share")

Since I've remade my approach on storing userfiles, I now have a root share on each local fileserver (w2k server) named "\\server\Users" on which the share permission are set to admins only (under that folder there's userfolders individually shared as \\server\@USERID$).

Anyhow, while doing this I though I'd just see what EXIST() reports if the user has no share permissions on the folder.

WinNT4 and Win9x reports @ERROR = 1 for EXIST("\\server\users"), which is correct (the folder exists and is "browsable" to, even though they might not have access to it), on Win2000 though, it report @ERROR = 0 [Eek!]

Is this a known bug? I tried with both KiX 363 and 420, and it was the same.

[ 26. March 2003, 15:58: Message edited by: masken ]
_________________________
The tart is out there