How to Run a bot from CMD

Hi , I built a background process to save the time but all the bots are in unattended license and we don’t have enough license to run the background process because to run a process from a unattended bot we need separate license which the process can consume . so i found a way that we can run the pkg from the help of CMD , so i have 2 Questions
Q1. if i run the bot by using a start process activity and the bot is running in unattended mode(unattended license) will the background process stills needs a license and it will use the same bot , or it will run after the bot finishes it job.
Q2. if it is true that the process can run (even from studio) concurrently how can i pass argument to the CMD because acc. to the UiPath tutorial first we have to move C:/ProgramFiles/UiPath/Studio and then we can pass the command to run package .
so if start CMD by using the start process and run the command to go to studio path , then how can pass the second command to run the PKG because to run the package successfully i have 4 arguments which contains file path and file name and two other string values.
Thanks in Advance

@Ashish_Parjapati

  1. IS your project on windows legacy or windows? if legacy then you can run directly from system but windows can run only from orch even if you use cmd
  2. You need a separate license for background process as well or else it would not run
  3. If you run using start process you have two options to pause current and run or run the process…that depends on executiontype .
  4. Please chekc below link for cmd parameters

cheers

Hi Anil thanks for reply ,
it’s a winodw’s legacy project, so suppose if i somehow manage to run the nuget pkg using cmd by using Start Process activity so acc. to your ans. it will pause the current process and then run the nuget pkg from CMD , is this you want to say

@Ashish_Parjapati

not sure why you want to use start process then start cmd and then trigger a process…if windows legcy then you can use invoke process activity which will strt the process you need

Did you happen to check that

Cheers

i want to run it because i do not want to stop or pause the main process and also want to run the process whether to run it by background process