Re: Re: CVS update: MODIFIED: util, CommonUtils.java ...
Sam Berlin <[email protected]> Mon, 3 Oct 2005 15:58:34 -0400
| Newsgroups | gmane.network.gnutella.limewire.core.devel |
|---|---|
| Message-ID | <[email protected]> |
Usually there's environment variables that have this kind of info. A quick google search of "'application data' environment variable" turned up a good page at http://kennethhunt.com/archives/000933.html . This one looks right: %APPDATA% . Thanks, Sam On 10/3/05, Adam Fisk <[email protected]> wrote: > Oh, I was just saying they "might" have something, but I wasn't > sure.... It's not hard to just code up yourself, just more of a pain. > Another option would be to have the installer just set a variable > somewhere since it's usually really easy to do that kind of thing in an > install script. > > -Adam > > > Jens-Uwe Mager wrote: > > >On Mon, Oct 03, 2005 at 11:33 -0400, Adam Fisk wrote: > > > > > > > >>You undoubtedly know this, but the below technique won't work on > >>international systems. The best way is to access it using native code > >>in the registry, but the Java Desktop Integration Project might have > >>something that already does the JNI work for you. If you're not already > >>familiar with it, check out: > >> > >>https://jdic.dev.java.net/ > >> > >> > > > >I do not see any references to the Windows Shell special folders in the > >API docs for jdic, can you point me to the particular API to use? > > > > > > > _______________________________________________ > core-dev mailing list > [email protected] > http://www.limewire.org/mailman/listinfo/core-dev > _______________________________________________ core-dev mailing list [email protected] http://www.limewire.org/mailman/listinfo/core-dev