How i can get Drive name that java class running on that drive?
I need only drive name not whole path.
For example my file running in D:folder1Main.java
and i need this: D:
How i can get Drive name that java class running on that drive?
I need only drive name not whole path.
For example my file running in D:folder1Main.java
and i need this: D: