Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ERASE command help????
Message
 
 
À
10/10/2001 10:40:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00566424
Message ID:
00566431
Vues:
14
Paul,
There is no difference from VFP point of view between deleting files from the local c: drive or from mapped novell drive:
cDrive = "H:"
cPatname = alltr(patname)
cFileDbf=cDrive + cPatname + '.DBF' 
erase (cFileDbf)
>Hello,
>
>The following lines of codes helped me to erase cPatname.dbf file in my C: drive
>I would like know to delete cPatname.dbf in the Novell server that could be any available drive such N:,M:,O:
>
>Greatly appreciated for any code changes.
>
>Thanks,
>PP
>
> select dbdelrpt
>
> GO TOP
> count to npatname
> go top
>
> for nCurrentFile=1 to npatname
>
> cPatname=alltr(patname)
> bChkmark=chkmark
>
> cFileDbf='c:'+cPatname+'.DBF' && Any drive in Novell server mapping
> && instead of only c: Drive
> if bchkmark=.T.
>
> erase &cFileDbf
>
> endif
>
> SELECT dbdelrpt
> SKIP
> next
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform