Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 258
  • Last Modified:

VB/VB.Net - File selection command line execution

I would like to create a small app that selects a file and executes it at command line or places it at command line. The file is a script that I currently run as a batch script, but I want to make it automated using vb buttons and file selection for execution.

Anybody know some function that I can use to select a batch script file and execute at command prompt via click of a button?

Thanks
kpax
0
kpax
Asked:
kpax
1 Solution
 
MCummings111400Commented:
Try using the common dialog control to select the file.

And using Shell to execute the file.
0
 
CleanupPingCommented:
kpax:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
Experts: Post your closing recommendations!  Who deserves points here?
0
 
DanRollinsCommented:
kpax, an EE Moderator will delete this for you.
Moderator, my recommended disposition is:

    DELETE this question (refund points).

DanRollins -- EE database cleanup volunteer
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now