Hi Richard, first I took the advice of Kent and had a look at the documentation. I changed the script line to this:

USE E: \\%clientname%\DISK_A /user:xxxx /password:xxxx

After going into debug mode I noticed that I made an error while typing %clientname% and forgot the last %.

Now everything works fine. Thanks for your time and help!!