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 Detect whether the PrintScreen key has been pressed ?

1 Answers  


With what commands you can Delete a directory and all the directories with files?

1 Answers  


How to create an executible file using the command line directive in Linux with Kylix?

1 Answers  


How to Keep an application in a minimized state?

1 Answers  


What are the problems faced by memory leaks?

1 Answers  


How to Extract Icons ?

1 Answers  


What does the error 'Token not found'?

1 Answers  


How to Print in Delphi without using the TPrinter Unit ?

0 Answers  


What is the procedure to access the database from delphi?

1 Answers  


How to add a system menu item for the "right click" of the application's task bar icon?

1 Answers  


How to insert contents of a file at current position in TMemo?

1 Answers  


How to Execute a program from my application?

1 Answers  


Categories