Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Available space on another drive
Message
De
12/10/1996 15:59:02
 
 
À
12/10/1996 15:56:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00009891
Message ID:
00009893
Vues:
34
>FUNCTION DiskSpc
>PARAMETER m_D && Passed Drive letter
>m_DefDrive = FULLPATH(CURDIR()) && Store current path
>SET DEFAULT TO &m_D && Set to passed Drive letter
>m_RetVal = DISKSPACE() && Get the DiskSpace
>SET DEFAULT TO &m_DefDrive && Reset to the original path
>RETURN m_RetVal && Return the DiskSpace value

Thanks. That's a nice function but my restriction is that I can't do a CD or a SET DEFAULT TO in my application. I have a special reason for that.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform