Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Is there command showing the current directory?

1 view
Skip to first unread message

zalek

unread,
Jan 19, 2010, 7:55:10 AM1/19/10
to
I wrote a simple program where I defined a file:

String w_file
w_file = "song.wav"

next I am passing w_file to a function which checks if the file exist.

When I am running on PC - I am getting a message the file exists, but
when I deployed the program to my PDA I am getting a message the file
does not exist. I checked few times - the file song.wav is on PDA in
the same directory as my executable program.

Is there a function which shows the current directory?

Thanks,

Zalek

Chris Werner

unread,
Jan 19, 2010, 10:23:52 AM1/19/10
to
Hi Zalek,

try getCurrentDirectory()

HTH
Chris Werner
f+s software gmbh

"zalek" <zalek...@gmail.com> schrieb im Newsbeitrag
news:79a49d2e-17a1-44f1...@e16g2000yqc.googlegroups.com...

zalek

unread,
Jan 19, 2010, 10:19:34 PM1/19/10
to
On Jan 19, 10:23 am, "Chris Werner" <c...@f-s.de> wrote:
> Hi Zalek,
>
> try getCurrentDirectory()
>
> HTH
> Chris Werner
> f+s software gmbh
>
> "zalek" <zalekbl...@gmail.com> schrieb im Newsbeitragnews:79a49d2e-17a1-44f1...@e16g2000yqc.googlegroups.com...

>
> > I wrote a simple program where I defined a file:
>
> > String w_file
> > w_file = "song.wav"
>
> > next I am passing w_file to a function which checks if the file exist.
>
> > When I am running on PC - I am getting a message the file exists, but
> > when I deployed the program to my PDA I am getting a message the file
> > does not exist. I checked few times - the file song.wav is on PDA in
> > the same directory as my executable program.
>
> > Is there a function which shows the current directory?
>
> > Thanks,
>
> > Zalek
>
>

Thanks!!!
It worked!!!

Zalek

0 new messages