Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How to pass the argument through commandline?

commandline pass
0
Posted

How to pass the argument through commandline?

0

Kindly follow the below given steps to pass argument through commandline: 1.Create a new folder 2.Copy and paste the GoDBConsole.exe file in the new folder. 3.Open sample application and use the same code which you have mentioned above. 4.Compile and run the application in the console platform. 5.Copy and paste the sample.bdb in the new folder already created. 6.Goto the command prompt 7.Change directory to the new folder and then run the following command. godbconsole.exe sample.bdb “Arguments” 8.Then it prints the above command with arguments in the next line. 9.Getosvar(“*CMDLINE”) function returns the command Line Parameters passed to the GoDB VM.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123