MS-DOS APPEND.EXE Doesn't Work with Logon Script (70886)



This article was previously published under Q70886

SUMMARY

BUG: 1201

SYMPTOMS

The MS-DOS APPEND command will cause logon scripts not to run under certain conditions. When this problem occurs, DOS LAN Manager will return the following error message:

NET2212 - An error occurred while running the logon script.

CAUSE

If the APPEND environment contains a drive letter that does not exist (typically, network drives), logon scripts will not run until the network drive(s) are taken out of the APPEND environment.

RESOLUTION

Do either of the following to resolve this problem:
    Do not use the MS-DOS APPEND command with logon scripts.
    Create batch files to add/remove network drives to the APPEND environment. Use these batch files to add network drives after you log on, and delete them before you log off.

Modification Type: Major Last Reviewed: 7/30/2001
Keywords: KB70886