I would like to open a password protected NAS folder through IP address in windows 10 file explorer. I write my code in Java Eclipse.
I have a small code that opens the folder but then I have to write in username and password manually.
Is there a way to open the folder in file explorer already authenticated with given username and password?
Thank you in advance for your help!
Runtime.getRuntime().exec("explorer.exe /n, /e, "+ip);