Thanx Richard, but actually your first suggestion workd just fine on the xp comp.

I add the setoption ("NoVarsInStrings","ON") and it worked just perfect. I think it will work too on the Win98, but i have to delete first the mapped drives that already were configured manually, and try the script again, or to add some code that delete all drives in the first line.

I still have to learn how to use the debug and error commands.