How to change file attributes programmatically?



How to change file attributes programmatically?..

Answer / ankit

Use chmod function which takes first parameter as filename
and next parameter as the permission.

This function is available even on Windows as against the
general myth that only UNIX and Linux support it.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Delphi Interview Questions

How to Create Non-Visual Components Without Icons ?

0 Answers  


How to Show two forms allowing the first to retain focus ?

0 Answers  


what is Object Activation ?

0 Answers  


How to Change the Windows wallpaper in code?

0 Answers  


How to detect the computer name?

0 Answers   Sr Comunications,






How to Load a TListView component that contains SubItems?

0 Answers  


Is there any way to record a keyboard macro in the IDE?

0 Answers  


Does Kylix support ODBC?

0 Answers  


How to Connect to a remote CORBA server?

0 Answers  


How to display an application associated icons?

0 Answers  


How to Display a 24 bit True Color bitmap image on a 256 color display?

0 Answers  


How to Set a form's maxwidth in code?

0 Answers  


Categories