mrmacadamia Posted December 12, 2009 Share Posted December 12, 2009 hi, I tried to make a script which allowed to toggle visible files/folders to hide. I test with @DesktopDir like this, FileSetAttrib(@DesktopDir & "\*.*", "+H") ...so all the files/folders on the desktop will be hidden but when I want to make it visible again like this, FileSetAttrib(@DesktopDir & "\*.*", "-H") All the files/folders including desktop.ini will be visible and the desktop.ini always startup when logging in pc which is frustrating. Any advice? Link to comment Share on other sites More sharing options...
PartyPooper Posted December 12, 2009 Share Posted December 12, 2009 Try detecting which files are +HS (Hidden System files) and which files are just +H, then only make the +H ones visible. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now