|
Answer» Hi,
I know when a file is opened in exclusive mode no other application or process can access it.
But I WANT to open and also view the file in exclusive mode, say a PDF file. Actually I need to restrict cut & copy permission for a file when it is opened.
When the file is opened in Exclusive mode and meanwhile if I try to copy and Paste the file it says "cannot copy It is being used by another person or program".
I want to make use of this condition and would like to open and view the file.
I have an encryted file which I decrypt programmatically to get actual file and open it for viewing. But I dont want every one to copy the file. So, I would like to open and view it in Exclusive mode and when the file is closed I will programmatically delete the file.
Is this the right approach?
I am opening a file for viewing using "start myfile.pdf" from COMMAND line. Are there any other options for Start with which I can open the file in Exclusive mode.
Any suggestions would be helpful.
Thanks SATYA
|