[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
Re: test through java
Chetan Gopal Kashinath proclaimed:
> i want to execute " test -d <some directory> " through my java file....
> is it possible ?? how do i do it ??
Why don't you try opening the directory using java's file I/O class? If
the directory exists, the open will succeed. If the open fails, an
exception will be thrown.
"Microsoft is a great company in reality. They've got a lot of really
smart people. When I was competing with them I didn't like them at all.
Now that I'm not, I kind of like them" -- Jim Clark
Sudhakar C13n http://www.aunet.org/thaths/ Lead Indentured Slave