>This is results for some of our drives:
>
>1 2 3 4 5 6 7 8 9 10
>-------------------------------------------------------------------------
>1 C:\ RAZVAN 200 573159436 255 16390 FAT 200 | Local
>1 D:\ UTILE 200 0 255 16390 FAT 200 | MSNetWare
>1 E:\ CATALINA 200 0 255 16390 FAT 200 | MSNetWare
>1 F:\ SYS 200 0 12 0 NWCOMPA 200 | Novell 3.11
>
>1 = lresult
>2 = lcpath
>3 = lcvolbuff
>4 = lnvbuffsize
>5 = lnserialno
>6 = lncomplen
>7 = lnsysflags
>8 = lcsysbuff
>9 = lnsbuffsize
>10 = drive type
>
>As you can see "lnserialno" is returned only for local drive.
>Can you get Serial Number for net drives?
I don't think that net drives necessarily have a serial number. I know that this function doesn't return one from mine, and neither does a DIR from the DOS prompt when the drive is F:, but it does, of course, when the drive is C:.
Just one note, the value returned by this function is, naturally, the decimal representation. The serial number shown at the DOS prompt is a hexadecimal representation of that number.
hth,
George
George
Ubi caritas et amor, deus ibi est