This is cool.!
I am going to 'borrow' this and re-write my script to fit.!
If you take alook at this...
code:
    $lblStatus.Text = "Mapping Network Drives..."
    $sNetDrives = Split("P,R,S,T", ",")
    $sNetMappin = Split("\\server1\share,\\server2\share,\\server3\share,\\server4\share", ",")
    $frmFuncStatus.Text = "Network Drive Mapping"
    $prgFuncStatus.Max = Ubound($sNetDrives) + 1
    $prgFuncStatus.Value = ""
    $frmFuncStatus.Show
    Sleep 0.5
    For Each $sDrive in $sNetDrives
        $prgFuncStatus.Value = $prgFuncStatus.Value + 1
;        $lblFuncStatus.Text = "Mapping Drive $sDrive:\"
        $lblFuncStatus.Text = "$sNetMappin($prgFuncStatus.Value)"
        Sleep 0.5
    Next
    $frmFuncStatus.Hide
I can't get the $lblFuncStatus.Text line to work.
Any ideas ??!
W
 
 [ 05. November 2002, 13:27: Message edited by: Wizard ]
_________________________
Wizard
There's no place like 127.0.0.1
vb | kix | batch | html | cfm | js | english