Sign in to follow this  
Followers 0
Vindicator209

Hiding Directories

4 posts in this topic

I bet this has been asked like, a hundred times, but how do you hide a folder or file? My program is going to save "last used" and "last saved" files into a folder, but I want to make either the folder OR the files them selves hidden. like, in the "properties" window, it says "Read-Only" and "Hidden"


[center]"When you look at old, classic games like Snake, you often put it off because it's such a simple game, but it's only when you actually try and create your own unique game from scratch, do you finally appreciate those games."[/center][center]Don't ask for answers if you haven't TRIED yet![/center][center]Most answers can be answered in the help file! Use it![/center]

Share this post


Link to post
Share on other sites



FileSetAttrib ( "file pattern", "+-RASHNOT" [, recurse] )

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

thanks!

...ehh... I knew that all along... i was just testing you =P

*cough*

EDIt: Anothor test: How would you set (through autoit) the "Show hidden files and folders" option to false?

Edited by MethodZero

[center]"When you look at old, classic games like Snake, you often put it off because it's such a simple game, but it's only when you actually try and create your own unique game from scratch, do you finally appreciate those games."[/center][center]Don't ask for answers if you haven't TRIED yet![/center][center]Most answers can be answered in the help file! Use it![/center]

Share this post


Link to post
Share on other sites

You can do it via registry settings, but I'm not sure if you need to log out and back in for the settings to apply.

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"Hidden"=dword:00000000
("Hidden"=dword:00000000 = Hide, "Hidden"=dword:00000001 = Show)

Surely you can translate the above to an autoit format on your own. :)

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  
Followers 0