#79624 - 2003-03-26 03:29 PM
Bug? EXIST() reports returncode 0 on Win2000
|
masken
MM club member
   
Registered: 2000-11-27
Posts: 1222
Loc: Gothenburg, Sweden
|
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
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
|
|
Top
|
|
|
|
Moderator: ShaneEP, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Ruud van Velsen, Mart
|
0 registered
and 492 anonymous users online.
|
|
|