How to change file attributes programmatically?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the procedure to access the database from delphi?

460


How to Test whether you are connected to the internet ?

1255


What are the available Alternate security databases ?

1257


How to get function params from a dll?

1423


How to Log in to the remote datamodule?

1533






How to use far pointers?

1617


How to use the TUpdateSQLProvider.OnUpdateRecord method ?

1614


How to pass functions or procedures to other functions or procedures?

1182


what is Client launching ?

1435


How to prevent the user from moving or sizing my form?

1272


How to Migrate a project from Delphi 1 or 2 to Delphi 3 ?

1330


How to draw transparent text onto a TBitmap ?

1292


How can I create an identical binary executable in Delphi?

1480


How to Check drive ready status?

2002


How to Obtain a list of available BDE language drivers?

1321