Jump to content
Sign in to follow this  

yet another hidden files

Recommended Posts



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?

Share this post

Link to post
Share on other sites

Try detecting which files are +HS (Hidden System files) and which files are just +H, then only make the +H ones visible.

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.