File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes Need Help In Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Need Help In" Watch "Need Help In" New topic

Need Help In

Muddassir Sayeed

Joined: Jul 08, 2001
Posts: 7
I am using I have set the file readonly from method setReadOnly() now i want to remove readonly attribute. is there any methos available to do so? and also tell me how to make a file hidden.
Waiting gor reply
Rene Larsen
Ranch Hand

Joined: Oct 12, 2001
Posts: 1179

You can not do it in Java, BUT you can do it like this:

Where '-H' is remove hidden attribute and '+H' is set hidden attribute.
[ July 09, 2002: Message edited by: Rene Larsen ]

Regards, Rene Larsen
Dropbox Invite
I agree. Here's the link:
subject: Need Help In
It's not a secret anymore!