Quote:

I have compiled a script and having some problems. If I map a network drive and call the file from the mapped drive during the logon process, no error occurs. However, from the logonscript, if I call usbData.kix, it errors our with Array out of bounds and I can't figure out why.

The error is said to be in line 33, which is the following section:
Code:
 
if $lines = -1
redim preserve $all[ubound($all)-1]
$tail = $all
exit(0)
endif








jechilt,

you can remove
Code:

redim preserve $all[ubound($all)-1]



from the tail udf. Sorry about that bug . I have no idea why i was wanting to redim the array there.....