This page is no longer maintained — Please continue to the home page at www.scala-lang.org

Working directory

1 reply
Charles F. Munat
Joined: 2008-12-29,
User offline. Last seen 42 years 45 weeks ago.

If I'm using the scala console, how can I determine the working
directory. Or, if I'm running an application, how can my application
determine the working directory? Or does this question make any sense at
all?

Thanks,
Chas. Munat

Ishaaq Chandy
Joined: 2009-02-16,
User offline. Last seen 42 years 45 weeks ago.
Re: Working directory
System.getProperty("user.dir")

Ishaaq

2009/3/4 Charles F. Munat <chas@munat.com>
If I'm using the scala console, how can I determine the working directory. Or, if I'm running an application, how can my application determine the working directory? Or does this question make any sense at all?

Thanks,
Chas. Munat

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland