NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

using Net use to mount Server volume

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Developers
View previous topic :: View next topic  
Author Message
cibsrk



Joined: 04 Jan 2017
Posts: 2

PostPosted: Wed Jan 04, 2017 4:52 pm    Post subject: using Net use to mount Server volume Reply with quote

Hi All,

New to Netbeans.

I have this button on my form by clicking on it I like to map a server drive on Windows Desktop:


///////////////////////////////////////////////////////////////////////////////////////
private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {

net use x: \\servername\share /user: myusername my password

}
/////////////////////////////////////////////////////////////////////////////////////////////

My intend is to issue net use command mapping server drive for our users and I have already setup all the fields and buttons in Java form.

Thanks for any help,

Abi
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Developers All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo