Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing File Attributes
Message
De
17/04/2003 08:39:48
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00778570
Message ID:
00778779
Vues:
31
It is file by file. But could be made recursive with a simple loop.
LOCAL lnFiles, laFiles
SET DEFAULT TO 'c:\your directory'
lnFiles=ADIR(laFiles,'*.dbc') &&or *.* etc....
FOR N=1 TO lnFiles
	THISFORM.fileprop.setfileattribute('c:\your directory\'+laFiles[n],'HSRA')
ENDFOR
SET DEFAULT TO
i didnt test that code, but something like that should work.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform