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 NonMaintained or .NDX indexes on dBASE Tables?

0 Answers  


How to use Paths and Geometric Pens?

0 Answers  


Can we write multi-user database applications in regular Delphi?

0 Answers  


What are the Benefits of the ConstraintBroker?

0 Answers  


How to Detect if the system time has been changed ?

0 Answers  






How to Change the default project directory ?

0 Answers  


Why Delphi drawing functions draw one pixel short?

0 Answers  


How to Place a grid in edit mode programatically?

0 Answers  


How to Deploy DBClient in a Web Application?

0 Answers  


Is it possible to connect to InterBase from a Delphi app without using the BDE?

0 Answers  


How to Send an image to the printer ?

0 Answers  


How to set a custom CVS PServer port?

0 Answers  


Categories