porno porno rokettube
Results 1 to 2 of 2

Thread: how to determine user's home directory

  1. #1
    Junior Member
    Join Date
    Apr 2014
    Posts
    2

    how to determine user's home directory

    Hi,

    I want to write a dataset into the user's home directory.
    Is there a possibility to determine its absolute pathName ?

    thanks
    peter

  2. #2
    Administrator dave's Avatar
    Join Date
    Mar 2010
    Location
    West Yorkshire, UK - Valencia Spain
    Posts
    110
    Have you tried

    System.getProperty("user.home")

    e.g.

    def usersHomeDirectory = System.getProperty("user.home")
    Connect with me on twitter : @davebrown1975 http://twitter.com/davebrown1975

    Web & Mobile Development by Tucanoo Solutions Ltd

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Forum Design by Tucanoo Solutions Ltd Grails Development Specialists.