Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Other JSE/JEE APIs and the fly likes plz answer Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "plz answer" Watch "plz answer" New topic

plz answer

Dishi Malhotra

Joined: Dec 13, 2000
Posts: 22
how can i detect the drive from java like its a: c: or cd drive and after detecting the drive i want to detect the media no of the cd rom or any drive
how can i call this api (ExitWindowsEx(EWX_SHUTDOWN, 0&)) of windows i java one method i think is JNI but plz tell me how can i define JNI i have never define any JNI
I agree. Here's the link:
subject: plz answer
It's not a secret anymore!