🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.java
Article #141721

Re: Jak uzyskać ścieżkę dostępu do aktualnego katalogu jako String?

#141721
From: Brzezi
Date: Thu, 16 Oct 2008 18:41
15 lines
1635 bytes
czw, 16 paź 2008 o 18:07 GMT, Maciek - Wally napisał(a):

> Mam następujący problem: muszę znaleźć jakiś sposób, by do zmiennej 
> Stringowej zapisać ściezkę dostępu do aktualnego katalogu. Problem w 
> tym, że katalog jest pusty. Gdyby nie był pusty użyłbym klasy File i 
> odpalił getCanonicalPath()...

google("java working directory");

Pozdrawiam
	Brzezi
-- 
[    E-mail: brzezi@enter.net.pl ][          - If you want to be a sexy you   ]
[       Ekg: #3781111            ][          must drink a lot of Pepsi        ]
[ LinuxUser: #249916             ][                                           ]
Technical Details
Message-ID: <slrn.pl.gff2qi.gsc.usunto.brzezi@localhost.localdomain>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!nf1.ipartners.pl!ipartners.pl!news.nask.pl!news.nask.org.pl!newsfeed.atman.pl!not-for-mail
References: <gd7p0e$ghi$1@atlantis.news.neostrada.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!nf1.ipartners.pl!ipartners.pl!news.nask.pl!news.nask.org.pl!newsfeed.atman.pl!not-for-mail
From: Brzezi <usunto.brzezi@enter.net.pl>
Newsgroups: pl.comp.lang.java
Subject: Re: Jak uzyskać ścieżkę dostępu
 do aktualnego katalogu jako String?
Date: Thu, 16 Oct 2008 18:41:40 +0000 (UTC)
Organization: Hard Core Slrn-pl User
Lines: 15
Message-ID: <slrn.pl.gff2qi.gsc.usunto.brzezi@localhost.localdomain>
References: <gd7p0e$ghi$1@atlantis.news.neostrada.pl>
NNTP-Posting-Host: chello089077080110.chello.pl
Mime-Version: 1.0
X-Trace: node2.news.atman.pl 1224182500 12898 89.77.80.110 (16 Oct 2008 18:41:40 GMT)
X-Complaints-To: usenet@atman.pl
NNTP-Posting-Date: Thu, 16 Oct 2008 18:41:40 +0000 (UTC)
X-Licznik: 9210
User-Agent: slrn/0.9.7.4 (pl-1.4.3) (Linux/2.6.24-19-generic (i686))
X-NNTP-Posting-Host: localhost.localdomain
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit