Theoretically, you could make a program that loads your folder into the RAM on startup while deleting it and re-saving the folder on shutdown, however this would be very risky when you press "shutdown anyways". If a certain condition is met, you could show the folder(e.g. saving it to file system).
Another Idea would be to try to remake it as the very infuriating folder in C:\Program Files\WindowsApps which you can only access in command-line
Also if you are able to complete this project, I would be very interested in using it too.
I've been wanting to make a program that hides a folder that has a lot of my sensitive files on it.  I use python as my main programming language.
I need a way to hide the folder from Windows Explorer, even if the "Show Hidden Files" option is checked. I know how to hide it normally, right-clicking on the folder and checking the "hidden" option, but I need users to not be able to see it at all. I also need to be able to unhide it using the same program.
If anyone knows a solution, please let me know!
Thank you!
Is there a way to hide a folder even when "show hidden files" is checked using python?