05-30-2011 12:15 AM
hi friends,
Is it possible to make protection to folder from Delete operation by using Labview?
i need urs help?
05-30-2011 06:41 AM
I am not well sure that you can get the 'Folder Reference' for modifying the permission.
The simple workaround is
1. Write some dummy file into the Folder,
2. Get the access of the file (dummy file) / Deny Access of the file,
3. When you finishing the operation,
3a. Close the dummy file,
3b. Delete the dummy file.
Note:-
Here you have to run your code prallel to the delete operation.
Hope this can help you.
Regards,
Yogesh Redemptor
05-30-2011 06:50 AM
Thanks for replay me...your idea is good..but i am thinking ..it is only protect to delete the folder...suppose if user delete each file in these folder individulay ,this idea is not worked....
05-30-2011 07:16 AM