Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27554

VS 2010 creating a GUI for a commandline .exe help

$
0
0
I finally broke down and created a post after searching and searching.

I have a .exe program that uses the cmd to run arguments once you have changed to the directory containing the .exe.

For example:
- I open CMD
-Change Directory: CD "folder path"
- Run Arguments: ddpinfo -f -d "W:\Macmillian\10881139\His to Command, CD 06\"

My questions are:

How can I include/incorporate this .exe in the install to my application? Because this .exe will by default not be on another computer for someone who installs and uses my application.

Once I have figured out how to send arguments to the included .exe, what is the proper syntax? I have tried the following:

Code:


Shell("cmd.exe /c cd C:\Users\kruiz\Desktop\ddptools-0.8.7a\ ,/c ddpinfo -f -d W:\Macmillian\10881139\His to Command, CD 06\", AppWinStyle.Hide)

        Process.Start("C:\Users\kruiz\Desktop\ddptools-0.8.7a\ddpinfo.exe", "ddpinfo -f -d W:\Macmillian\10881139\His to Command, CD 06\")

I might be totally down the wrong path. but I wanted to try to figure it out myself before posting.

Thank you all so much for your help.

Viewing all articles
Browse latest Browse all 27554

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>