Advertisement

06.25.2008 at 11:49AM PDT, ID: 23515697
[x]
Attachment Details

Creating a console app from an old batch file

Asked by robbhill in Microsoft Visual Basic.Net, .NET

I have a script running in a bat file.  I would like to make this in a vb.net console application..or maybe a winform....either way....I want this script to allow a user to enter an IP address but then not give them any command line capabilities for security reasons.  Just a simple...enter your IP address...and then run the script behind the scences...

Any ideas how to do this...

this is the script in the bat file:
Start Free Trial
1:
2:
3:
@echo off
snmpset -v3 -u tnet300 -A tnet300password -l authNoPriv %1 .1.3.6.1.4.1.27276.3.5.80.0 s "activia666;telnet"
telnet %1
[+][-]06.25.2008 at 11:55AM PDT, ID: 21868752

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]06.25.2008 at 12:27PM PDT, ID: 21869047

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.25.2008 at 12:40PM PDT, ID: 21869157

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]06.25.2008 at 12:55PM PDT, ID: 21869276

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.25.2008 at 12:58PM PDT, ID: 21869307

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.25.2008 at 01:06PM PDT, ID: 21869361

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Microsoft Visual Basic.Net, .NET
Sign Up Now!
Solution Provided By: MrClyfar
Participating Experts: 1
Solution Grade: A
 
 
[+][-]06.25.2008 at 01:12PM PDT, ID: 21869419

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.25.2008 at 01:17PM PDT, ID: 21869463

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.25.2008 at 01:26PM PDT, ID: 21869545

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]06.25.2008 at 01:30PM PDT, ID: 21869586

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.25.2008 at 01:46PM PDT, ID: 21869712

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.25.2008 at 02:04PM PDT, ID: 21869866

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.25.2008 at 02:17PM PDT, ID: 21869959

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]06.25.2008 at 02:48PM PDT, ID: 21870154

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_EXPERT_20070906