Article View: borland.public.csharpbuilder.language.csharp
Article #440Re: How to hide a folder?
From: Jon Shemitz
Date: Thu, 20 Oct 2005 17:11
Date: Thu, 20 Oct 2005 17:11
15 lines
1366 bytes
1366 bytes
Peter Jones wrote:
>
> Hi
>
> I know I can hide a file by writing: File.SetAttributes("C:\\Test.txt",FileAttributes.Hidden)
> But how can I hide a folder directly?
what do you mean by "directly"? Do you want to create a FileInfo
object for your directory, and then call an instance method?
--
i'm midnightbeach.com and a mtn bike accident
means i'm left handed until the end of october,
so please pardon lower case and terseness.
Technical Details
Message-ID:
<4357CFDF.77C96025@midnightbeach.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news4.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<4357afa6$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 1efe35,f976d83056a0e2d9 X-Google-Attributes: gid1efe35,public X-Google-Language: ENGLISH,ASCII-7-bit Message-ID: <4357CFDF.77C96025@midnightbeach.com> Date: Thu, 20 Oct 2005 10:11:59 -0700 From: Jon Shemitz <jon@midnightbeach.com> Reply-To: jon@midnightbeach.com Organization: Midnight Beach X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: en-US,en MIME-Version: 1.0 Newsgroups: borland.public.csharpbuilder.language.csharp Subject: Re: How to hide a folder? References: <4357afa6$1@newsgroups.borland.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 63.249.103.162 X-Trace: newsgroups.borland.com 1129828151 63.249.103.162 (20 Oct 2005 10:09:11 -0700) Lines: 15 Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news4.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail