Hello,
I'm trying to get Java to create a file in a new directory (which
already exists). Using FileOutputStream, I've been able to create a
new file, but it always puts it into the same directory (as far as I
can tell, there is only one argument for file name... nothing for
path). Is there some way to specify another path?
Thanks,
Ben
Jan Peter Stotz - 17 May 2006 20:38 GMT
bwilde@gmail.com schrieb:
> Hello,
>
[quoted text clipped - 3 lines]
> can tell, there is only one argument for file name... nothing for
> path). Is there some way to specify another path?
Have you tried to include the path into the filename?
Jan
Dale King - 18 May 2006 18:22 GMT
> bwilde@gmail.com schrieb:
>
[quoted text clipped - 7 lines]
>
> Have you tried to include the path into the filename?
Or the constructor that accepts an instance of File?

Signature
Dale King