Article View: borland.public.jbuilder.java.language
Article #17628Re: Setting the working directory in application.
From: John P. McGrath
Date: Sat, 10 Oct 1998 00:00
Date: Sat, 10 Oct 1998 00:00
24 lines
1204 bytes
1204 bytes
tim <nospam@please.com> wrote: > I am interested in changing the working directory for > my java process once the application has been launched. > How could I do this? Java does not provide any way to set the current directory. And to make matters worse, some operations, such as file open dialogs under Windows will change the current directory. Worse still, some of the Java file operations use the current directory as defined by the operating system, while others use the "user.dir" system property. And changing one value does not change the other. Do yourself a favor, and forget that you ever heard of a "current directory". -- Regards, John P. McGrath <mcgrath@enter.net> <jpm@nscs.fast.net>
Technical Details
Message-ID:
<MPG.1089f241fc74a4ea9896d2@forums.inprise.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3613C23C.228F877A@please.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,40bf49c3d8239bd0 X-Google-Attributes: gidf74b3,public From: mcgrath@enter.net (John P. McGrath) Subject: Re: Setting the working directory in application. Date: 1998/10/10 Message-ID: <MPG.1089f241fc74a4ea9896d2@forums.inprise.com> X-Deja-AN: 399836776 References: <3613C23C.228F877A@please.com> Organization: Software Consulting Services Newsgroups: borland.public.jbuilder.java.language