The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
August 2000

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

RE: Hidden Files

Posted by KIshori Sharan on August 04, 2000 at 9:35 AM

Hi
To make a file hidden is system dependent. In UNIX if a file name starts with . ( a period e.g. .myfile ) then it is considered to hidden whereas on windows you have to set its property as hidden in windows. On windows operating system you cannot set the hidden property using any Java API. You will have to use native method to make a windows file hidden.

Thanx
Kishori




Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us