I believe setting the system property user.dir will get the trick done.

Javier


> -----Original Message-----
> From: Paul Kinnucan [mailto:[EMAIL PROTECTED]]
> Sent: Friday, October 05, 2001 7:38 AM
> To: [EMAIL PROTECTED]
> Subject: How to set current working directory?
> 
> Hi all,
> 
> Is there any way to set the current working directory in Java.  I want
to
> be able to change the beanshell's current directory to the directory
of
> the current source buffer so I don't need to specify the full path of
the
> source file to be compiled. The beanshell has a cd command but it does
not
> appear to work.
> 
> - Paul


Reply via email to