• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to find out path of a folder

 
Abhra Chandra
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
How can I find out the path of a folder such as TEMP folder of windows using System.getProperty() method?
Please help.
 
Ben Wood
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic