With errorlevels can you determine that a prompt for a username/password is incorrect at that time? The mapped drive is in a remote network, and the prompt is via the script for username and password. at present you can type in rubbish and the drive is still there called "Network Drive", but obviously cannot connect. I would have thought that when you click on the drive it would prompt you, but it didn't. [Confused]

Thanks.

NJ