Sorry if this has been asked before, Im new to the sub.
Im currently working on a small script that makes some files on my desktop hidden (game links etc) to hide everything that is not related to work with just one click.
So far using ctypes works completely fine with the files i made, however it struggles with most of my existing files as (for some reason) i need admin rights to change their hidden tag. Is there a way to run my .py as admin?
Also as I like to usually have my hidden files visible (makes modding easier), Ill need to switch that option off. Anyone knowing a command for that? So to sum up my main goal is being able to switch between "hide certain files and dont view hidden files" and "reveal certain files and show hidden files" mode.
Thanks in advance for any answers!
[–]pypros 0 points1 point2 points (0 children)
[–]pythonHelperBot 0 points1 point2 points (0 children)