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:
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.
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\")Thank you all so much for your help.