Vindicator209 Posted February 22, 2008 Share Posted February 22, 2008 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] Link to comment Share on other sites More sharing options...
smashly Posted February 22, 2008 Share Posted February 22, 2008 FileSetAttrib ( "file pattern", "+-RASHNOT" [, recurse] ) Link to comment Share on other sites More sharing options...
Vindicator209 Posted February 22, 2008 Author Share Posted February 22, 2008 (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 February 22, 2008 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] Link to comment Share on other sites More sharing options...
smashly Posted February 22, 2008 Share Posted February 22, 2008 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. 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