[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.
Thaths
--
"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
(http://www.cnetinvestor.com/newsitem-bloomberg.asp?symbol=94496655&Ticker=AOL)
Sudhakar C13n http://www.aunet.org/thaths/ Lead Indentured Slave