Hi
I don't even know if this can be done but what im trying to do is when someone opens a password protected 7zip folder it unzips it to the specific location I want it to by using a SFX archive and the person puts the password in to view.
What I need to do then is the 7zip folder once unzipped needs deleting and when the person closes the unzipped folder after opening I need it to go back into password protect and so when they try to reopen they have to put password in again.
Any ideas?
Thanks
Am I able to autodelete / password protect files when closing folder
Moderator: DosItHelp
Re: Am I able to autodelete / password protect files when closing folder
Batch can't detect windows events such as closing a folder, so this is not possible.
You could just doubleclick the sfx-zip file to extract its data and use one of the batch scripts we gave you to create the sfx-zip files;
For that you have to add the "-sfx" switch and use ".exe" as the archive file extension; this example may help you:
https://superuser.com/questions/160672/ ... ng-archive.
penpen
You could just doubleclick the sfx-zip file to extract its data and use one of the batch scripts we gave you to create the sfx-zip files;
For that you have to add the "-sfx" switch and use ".exe" as the archive file extension; this example may help you:
https://superuser.com/questions/160672/ ... ng-archive.
penpen