Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

How to capture an image from a video source?

1771


How to Set default value for decimal places in the BDE?

2063


How to Drop a combobox's list in code?

1790


What are the problems faced by memory leaks?

963


How to Change RichEdit Font styles with HotKey combinations ?

1803


How to Switch between different data sources?

2026


How to Get the longfilename from a file?

1787


How to detect if the current user is logged in administrator?

1995


How to Create a file association for my application?

1602


How does Delphi handle Windows callbacks?

1091


What to do if getting missing or corrupted file messages?

1878


How to assign a Null value to a numeric field in a table?

1748


How to Create a palette with more than one entry ?

1915


How to Implement the VB TwipsPerPixel in Delphi ?

1832


How to Detect if the system time has been changed ?

1768