Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing File Attributes
Message
From
17/04/2003 08:39:48
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00778570
Message ID:
00778779
Views:
32
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform