Rocking
asked on
how to identify c drive exists in windows
hi,
i need to create the folder through java.Before creating the folder i need to check the Opertaing systen is linux or windows?
If it is windows then check c:\ drive exists and create folder in that?
how to identify c:\exists in windows
i need to create the folder through java.Before creating the folder i need to check the Opertaing systen is linux or windows?
If it is windows then check c:\ drive exists and create folder in that?
how to identify c:\exists in windows
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
http://docs.oracle.com/javase/8/docs/api/java/io/File.html#listRoots
I don't think it's even possible for C: to be absent actually
I don't think it's even possible for C: to be absent actually
:)
ASKER
how to identify which drives exists in windows?