Article View: borland.public.jbuilder.java.api
Article #205Re: retrieving standard program path from Windows
From: Shankar Unni
Date: Thu, 09 Jun 2005 01:00
Date: Thu, 09 Jun 2005 01:00
9 lines
1449 bytes
1449 bytes
Oliver wrote:
> at the moment im trying to retrieve the standard program path ("C:\Programme"
> or "C:\Program Files" or ... itοΏ½s language dependent) from Windows 2000
> with my Java program (JDK 1.5).
Have you tried looking for an environment variable (or property) called
"ProgramFiles" or "PROGRAMFILES" (depending on which sort of shell you
start your program from)?
Technical Details
Message-ID:
<42a794b6$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.spamkiller.net!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<42a6f2ac$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 1089d0,b523e2611fbd7782 X-Google-Attributes: gid1089d0,public X-Google-Language: ENGLISH,ASCII Date: Wed, 08 Jun 2005 18:00:38 -0700 From: Shankar Unni <shankarunni@netscape.net> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Thunderbird/1.0.2 Mnenhy/0.7 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.jbuilder.java.api Subject: Re: retrieving standard program path from Windows References: <42a6f2ac$1@newsgroups.borland.com> In-Reply-To: <42a6f2ac$1@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit NNTP-Posting-Host: 68.120.146.125 Message-ID: <42a794b6$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1118278838 68.120.146.125 (8 Jun 2005 18:00:38 -0700) Lines: 9 Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.spamkiller.net!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail