also so sieht mein script aus das die Laufwerke verbindet:
set wshshell = CreateObject("WScript.Shell")
wshshell.Run "%COMSPEC% /c net use e: /delete", 0, TRUE
wshshell.Run "%COMSPEC% /c net use f: /delete", 0, TRUE
wshshell.Run "%COMSPEC% /c net use g: /delete", 0, TRUE
wshshell.Run "%COMSPEC% /c net use h: /delete", 0, TRUE
wshshell.Run "%COMSPEC% /c net use i: /delete", 0, TRUE
wshshell.Run "%COMSPEC% /c net use j: /delete", 0, TRUE
wshshell.Run "%COMSPEC% /c net use k: /delete", 0, TRUE
wshshell.Run "%COMSPEC% /c net use l: /delete", 0, TRUE
wshshell.Run "%COMSPEC% /c net use m: /delete", 0, TRUE
wshshell.Run "%COMSPEC% /c net use n: /delete", 0, TRUE
wshshell.Run "%COMSPEC% /c net use o: /delete", 0, TRUE
wshshell.Run "%COMSPEC% /c net use p: /delete", 0, TRUE
wshshell.Run "%COMSPEC% /c net use p: \\192.168.212.3\ntfs /user:administrator admin /persistent:no", 0, TRUE
wshshell.Run "%COMSPEC% /c net use q: /delete", 0, TRUE
wshshell.Run "%COMSPEC% /c net use q: \\192.168.212.7\download /user:administrator admin /persistent:no", 0, TRUE
wshshell.Run "%COMSPEC% /c net use r: /delete", 0, TRUE
wshshell.Run "%COMSPEC% /c net use r: \\192.168.212.4\freigabe /persistent:no", 0, TRUE
wshshell.Run "%COMSPEC% /c net use s: /delete", 0, TRUE
wshshell.Run "%COMSPEC% /c net use s: \\192.168.212.4\Intranet /persistent:no", 0, TRUE
wshshell.Run "%COMSPEC% /c net use t: /delete", 0, TRUE
wshshell.Run "%COMSPEC% /c net use t: \\192.168.212.4\250_gb /persistent:no", 0, TRUE
wshshell.Run "%COMSPEC% /c net use u: /delete", 0, TRUE
wshshell.Run "%COMSPEC% /c net use u: \\192.168.212.4\300_gb /persistent:no", 0, TRUE
wshshell.Run "%COMSPEC% /c net use v: /delete", 0, TRUE
wshshell.Run "%COMSPEC% /c net use v: \\192.168.212.4\160gb2 /persistent:no", 0, TRUE
wshshell.Run "%COMSPEC% /c w:\public\atomuhr.bat", 0, TRUE
rem Systemuhr mit Atomuhr stellen +++
rem mit w2k:
rem net time /setsntp:ptbtime1.ptb.de
rem w32tm -once
rem mit windows xp:
wshshell.Run "%COMSPEC% /c net time \\router /set /yes", 0, TRUE