Hi all!

I have a VB script that is called from a batch file on logon to rename
mapped drives. On some machines, mostly (or by coincidence) on dual
cores, it simply does not work. Even when I run the script manually
from local drive after login. It works on one machine, for all tested
users, but for no one on another machine. All machines are installed
automatically, the windows (XP) and scripting host versions are the
same. Only when I add an "echo" to the end of the script, and call it
from the batch with wscript (not cscript), it will work (but I don't
want to annoy all users with a silly message). The following scripts
are tested locally, working on most computers, but not on all - and I
can't find any differences.

Script "logon.cmd"
@echo off
@net use O: \\domain\data\organization /persistent:no
wscript logon.vbs

Script "logon.vbs"
Option Explicit
Dim obj_net, obj_shell
Set obj_shell = CreateObject("Shell.Application")
obj_shell.NameSpace("O:").Self.Name = "My title"
' activate the next line to get it work
'wscript.echo "done"

A sleep (1, 5, 10, or 20 secs) at the beginning, or even at the end,
does not change anything.

Do you have an idea why this simple script behaves different?!

Regards, Oliver.