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

Does Kylix support ODBC?

0 Answers  


How to Change the papersize of a print job ?

0 Answers  


How to Pass a function to a procedure or vice versa?

0 Answers  


Why can't we display data in descending order in Delphi?

0 Answers  


Do we need Local InterBase on the client machines along with my BDE application?

0 Answers  


How to change Kylix directory permissions for all users when installed as root?

0 Answers  


why you want to make your future in SAP?.

0 Answers   IBM,


How BLObs act as SQL input parameters?

0 Answers  


What if I do not have a CD-ROM drive?

0 Answers  


Do I have to understand object-oriented programming to use Delphi?

0 Answers  


How to Disable close button of a window ?

0 Answers  


How to Get the windows directory?

0 Answers  


Categories