I was wondering if it was possible for me to write a simple program that either lets you use command prompt with visual basic (i.e. press a button and it does a command in CMD) if it can't be done in VB is there any other programming languages that allow me to do this. Thanks.
tom_h_500
0
Light Poster
Recommended Answers
Jump to PostQuite possible by using ShellExecute with lpFile="cmd.exe" and lpParameters="/c <your command here>" (can be also "/k", just read the cmd.exe help).
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.