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 |
How to Detect whether the PrintScreen key has been pressed ?
With what commands you can Delete a directory and all the directories with files?
How to create an executible file using the command line directive in Linux with Kylix?
How to Keep an application in a minimized state?
What are the problems faced by memory leaks?
How to Extract Icons ?
What does the error 'Token not found'?
How to Print in Delphi without using the TPrinter Unit ?
What is the procedure to access the database from delphi?
How to add a system menu item for the "right click" of the application's task bar icon?
How to insert contents of a file at current position in TMemo?
How to Execute a program from my application?