Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Overwrite message for every file
Message
De
25/02/2009 11:53:18
 
 
À
25/02/2009 11:35:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 7
OS:
Vista
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01384077
Message ID:
01384081
Vues:
57
>Hi,
>
>I am using the code below to copy files to lcSourceFolder from lcPath.
>The problem is I get a message to overwrite files for every file. How can I avoid or say yes just once.
>
>
>Local lcPath
>If Version(2) = 2
> lcPath = Justpath(Sys(16, 0))
> If Atc('PROCEDURE', lcPath) > 0
> lcPath = Substr(lcPath, Rat(':', lcPath) - 1)
> Endif Atc('PROCEDURE', lcPath) > 0
>Else
> lcPath = Addbs(Justpath(_vfp.ServerName))
>Endif Version(2) = 2
>*return lcPath
>
>lcSourceFolder = Thisformset.frmSecure.text2.Value
>
>Copy File (Addbs(lcSourceFolder) + "*.*") To (lcPath)
>
>
>Thanks


SET SAFETY OFF
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform