I had this problem as well, since it seemed that Windows 9x systems didn't have the final "\" in the @LDRIVE macro but NT & Win2k systems do include the slash, I just added it to the variable for those systems.

$OS = @INWIN ; REM Determine OS: 2 = 9x, 1 = NT
$NetLogon = @LDRIVE ; ** Authenticating Domain Controller's Netlogon share path
If $OS = 2
$NetLogon = $NetLogon + "\"
ELSE
ENDIF