Главная страница | назад





Article #27506: How to change file attributes programmatically.

ANSWER:

It might be convenient to change file attributes during the run time of your application. For example you might want to create a temporary file to take advantage of Windows' ability to manage the file in memory for quicker access. To change a file's attributes at runtime you can use the function SetFileAttributes(). To see exactly what attributes you can set see the help for the Windows SDK ( From the Start menu go to the Delphi menu and choose Help | Windows SDK ).

Last Modified: 10-JUL-01