A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
How to find out path of a folder
Joined: Sep 08, 2004
Dec 08, 2004 04:47:00
How can I find out the path of a folder such as TEMP folder of windows using System.getProperty() method?
Joined: Aug 14, 2001
Dec 08, 2004 06:30:00
I believe you can use System.getProperty("java.io.tmpdir")
and user home with System.getProperty("user.home")
[ December 08, 2004: Message edited by: Ben Wood ]
SCJP 1.4, www.gsi3d.org.uk
Have you checked out
subject: How to find out path of a folder
A trouble of System class path
how to add to a application path??
Help I can't figure out how to install java jdk 7
ImageIcon not showing Ubuntu
how to search file by name?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015