Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Don't get Serial Number on NetWork Drive
Message
 
À
04/11/1997 07:58:14
Razvan Alexandru
Soft Team Solutions Srl
Bucharest, Roumanie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00058120
Message ID:
00058125
Vues:
25
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform