I have a network share \\host-IP\folder\subFolder
. I want to open this from java where username and password should be prompted in connect to window. I wanted to achieve this in both MAC and windows. Any help ?
EDIT
IN windows :
using explorer
command i could acheive upto the root of the shared path. If i give sub folders it says the path does not exists
. But if i try the same from run window (windows+R) it works (it prompts for the username and password). But i do not know how to call the same from java.
Thanks in advance