Isaac
Lifelong Learner
- Local time
- Today, 06:00
- Joined
- Mar 14, 2017
- Messages
- 11,042
Hello all,
I am trying to create a console app in visual studio 2019, which will eventually become an .exe that can be ran using command line programming, i.e., someone can open the command prompt and put in a command that contains the path to the exe with 2 different parameters.
I already have the successful .net code written but it's in the form of an SSIS script task.
This is in VB.net only.
I'm having some trouble understanding how to create a console app which can be truly automated via command line and take input param's.
I see various tutorials from MS but I am not readily finding a good one that focuses on the user being able to command line run the program using input switches - rather, they prompt the user at run-time for input, which I don't want to do, as I want it to be able to be automated.
Does anyone know a tutorial or site or set of instructions that may get me to the end point rather quickly? I already have working .net code for the task at hand, just need to figure out how to turn it into an exe that someone can run with command line something like
pathtoexe -filepath thefilepath -chunksize 600
I am trying to create a console app in visual studio 2019, which will eventually become an .exe that can be ran using command line programming, i.e., someone can open the command prompt and put in a command that contains the path to the exe with 2 different parameters.
I already have the successful .net code written but it's in the form of an SSIS script task.
This is in VB.net only.
I'm having some trouble understanding how to create a console app which can be truly automated via command line and take input param's.
I see various tutorials from MS but I am not readily finding a good one that focuses on the user being able to command line run the program using input switches - rather, they prompt the user at run-time for input, which I don't want to do, as I want it to be able to be automated.
Does anyone know a tutorial or site or set of instructions that may get me to the end point rather quickly? I already have working .net code for the task at hand, just need to figure out how to turn it into an exe that someone can run with command line something like
pathtoexe -filepath thefilepath -chunksize 600