I Need a code for hide and unhide folder for never show
Hide A Folder
Page 1 of 15 Replies - 5737 Views - Last Post: 30 June 2010 - 01:44 AM
Replies To: Hide A Folder
#2
Re: Hide A Folder
Posted 01 December 2008 - 09:44 PM
Dream.In.Code has a policy by which we prefer to see a good faith effort on your part before providing source code for homework assignments. Please post the code you have written in an effort to resolve the problem, and our members would be happy to provide some guidance. Be sure to include a description of any errors you are encountering as well.
Post your code like this:
Thanks.
Post your code like this:
Thanks.
#3
Re: Hide A Folder
Posted 02 December 2008 - 03:18 AM
Mr could you please post some code....
Vace
Vace
#4
Re: Hide A Folder
Posted 05 January 2009 - 04:46 AM
Hi, Sorry to hijack this thread, but I also am unsure of how to unhide a folder.
I have been using:
This hides it fine I cant figure out how to unhide a folder again.
I have been using:
DirectoryInfo dinf = new DirectoryInfo(dir); dinf.Attributes = FileAttributes.Hidden;
This hides it fine I cant figure out how to unhide a folder again.
#5
Re: Hide A Folder
Posted 06 January 2009 - 08:29 AM
i love the windows cmd
u can do it like this
example we have a folder test in c:\ drive
to hide simply
to make it show again
example we have a folder test in c:\ drive
Shell "attrib +h C:\test"
to make it show again
Shell "attrib -h C:\test"
This post has been edited by Kresha7: 06 January 2009 - 08:31 AM
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote





|