i want my java application to access windows drive and pen drive.
how can i mount drives in linux root using java. so that it will be easy to access files

#mount -U34D5-FCF7 /mnt/c:
is a linux commnad i want this to be executed by my java application

You can use Process or JNI. The later is better, either way Java as is not exactly suitable for task like this

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.