G
Guest
This problem is appearing on Windows XP with SP2.
I am using the following statement in my logon script to map a drive if the
user has a particular system environment variable defined...
if %GreatPlainsUser% == 1 net use q:
\\servername\dynamics>>%SystemDrive%\logon.txt
If the user has the variable defined, everything runs fine. If the variable
is not defined, the logon script stops processing. I can run the exact same
command from a command prompt with no errors. Is there a way to ignore the
error so the logon script will continue?
To circumvent the problem, I have moved this line to the botton of the logon
script but would prefer to move it back where it was (in the middle of the
logon script).
I am using the following statement in my logon script to map a drive if the
user has a particular system environment variable defined...
if %GreatPlainsUser% == 1 net use q:
\\servername\dynamics>>%SystemDrive%\logon.txt
If the user has the variable defined, everything runs fine. If the variable
is not defined, the logon script stops processing. I can run the exact same
command from a command prompt with no errors. Is there a way to ignore the
error so the logon script will continue?
To circumvent the problem, I have moved this line to the botton of the logon
script but would prefer to move it back where it was (in the middle of the
logon script).