drive mapping mystery

A user needs a folder mapped to drive R. After verifying rights, I added to the central login script: IF "%1"="xxx" THEN map root R:=server\volume:\folder\folder\folder END When the user logged in again, the drive didn't map, so I tried creating a test user. The test user also had trouble. I tried several tests using pauses before after and inside the script. Sometimes they were ignored. Once with all pauses in place, everything worked. The PC in question is W2K with client 4.83. User's PC has W98. I don't know the client version. Server is 6.0 sp3.