network mapping

Is it possible to map a network share to a drive letter via java?
robert_a_jenkinAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
CEHJConnect With a Mentor Commented:
robert_a_jenkin, i'm confused. You posted a question and then accepted an answer to a different question. Unix systems don't have 'drive letters' ...
0
 
CEHJCommented:
You could Runtime.exec net share
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
sciuriwareCommented:
No, or you must exec the command:

CMD C:\WINDOWS\SYSTEM32\NET USE S: \\othersystem\sharedfolder

or such.

;JOOP!
0
 
sciuriwareCommented:
In parallel!

;JOOP!
0
 
robert_a_jenkinAuthor Commented:
whould the runtime.exec method also work on a unix environment. the windows net use is clear and via this I can user accounts for security. but what would be a simular solution for unix?
0
 
sciuriwareCommented:
YES!

;JOOP!
0
 
sciuriwareCommented:
use the mount command, like in the shell.

;JOOP!
0
 
sciuriwareCommented:
Yes, robert_a_jenkin, this is not fair.
At least you could give CEHJ half of the points!
Please reopen the question and do right.
;JOOP!
0
 
robert_a_jenkinAuthor Commented:
how do you reopen it
0
 
sciuriwareCommented:
Try to click "Request Attention" above.

(I never done it before).

;JOOP!
0
 
robert_a_jenkinAuthor Commented:
I have tried that without success so far
0
 
CEHJCommented:
Don't worry this time. I made an error - of course cleaned up by sciuriware - it's of course net use, not net share

Thanks for your support Joop
0
 
sciuriwareCommented:
You are welcome, CEHJ.

;JOOP!
0
 
CEHJCommented:
Thanks
0
 
sciuriwareCommented:
:)))))))-
0
All Courses

From novice to tech pro — start learning today.