Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Backing up to CD R or R/W
Message
 
 
À
14/06/2002 17:50:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00668796
Message ID:
00668914
Vues:
18
>>I routinely back up to RW CD's. All of the usual error traping is in place. However, Is there a way to find out if the cd in the drive is, in fact, RW and not R ? I use "direct CD" and the CD drive appears as a normal drive ie E: Any Ideas ? Thanks in advance.
>
>What about writing, then trying to erase, a small file? Should that not give you an "access denied" error with a CD-R that you wouldn't get with a CD-RW?

Stumbled on the answer. If diskspace()for given drive=-1 and drivetype()=5, it is not RW, therefore must be R. I also tried to setvolumelabel() with "Focus" library and returned "F", that works too.

Thanks for everyone's input
Ronl
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform