File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes how to access .properties file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "how to access .properties file" Watch "how to access .properties file" New topic

how to access .properties file

Rahul Borse

Joined: Dec 07, 2011
Posts: 5
i want to access file from another computer in network (my IP is

error : \\\softwares\ (Access is denied)

the os of is Windows xp

the folder softwares is shared

Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 15092

If you type \\\softwares in the location bar in Windows Explorer, are you then allowed to see the content of the directory, and open the file with for example a text editor?

If not, then something is wrong with your Windows permissions.

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
Rahul Borse

Joined: Dec 07, 2011
Posts: 5
hey thanks for reply

if i try to read text file it successfully reads through file:///// on browser

but not with the same

this time i have tried this also

Paul Clapham

Joined: Oct 14, 2005
Posts: 19973

Rahul Borse wrote:the folder softwares is shared

Then I would suggest mapping a local drive to that share, and accessing the file on that local drive.
Ivan Jozsef Balazs

Joined: May 22, 2012
Posts: 970
This works for me as expected with versions 1.4, 1.5, 1.6, 1.7 on Windows XP against a drive exported by a NAS device.
The drive is however in the mean while mapped to Z:, but I don't think this plays a role:

I agree. Here's the link:
subject: how to access .properties file
It's not a secret anymore!