Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
Process.Start("cmd", "/c NET USE M: \\192.168.137.117\vb_test /PERSISTENT:YES")
End Sub
Private Sub Button2_Click(sender As System.Object, e As System.EventArgs) Handles Button2.Click
Process.Start("cmd", "/c net use M: /del")
End Sub
End Class
Process.Start("cmd", "/c NET USE S: \\192.168.0.100\폴더명 사용자암호 /USER:아이디 /PERSISTENT:YES")