How to Install the Botlab Client and Register the botlab Command
When you land here, you might have tried to use the botlab program in some form. Maybe you downloaded a script from the botlab catalog, and got this error message when running the script:
I failed to run the bot because I did not find the 'botlab.exe' program.
Or maybe you tried following instructions to run a command in Windows and got an error message like this:
'botlab' is not recognized as an internal or external command, operable program or batch file.
The BotLab client program is a tool for developing and running bots, and many guides assume it is registered on your Windows system. To make these guides and scripts work, follow these steps:
- Download the file from https://botlabs.blob.core.windows.net/blob-library/by-name/2021-11-23-botlab-client.zip
- Extract the downloaded zip archive. The extraction will give you a file named
BotLab.exe. - Run the
BotLab.exeprogram, for example by double clicking the file in the Windows Explorer. It will open a window like in this screenshot:
At the bottom, we find this text:
I see the 'BotLab' command is not yet installed. Do you want me to install it, so that you can use the 'BotLab' command from the Command Prompt? [Y/N]:
- To start the installation/registration, press the
ykey and then theEnterkey in this Window. - The program then confirms the successful installation with a new output like this:
I added the path 'C:\Users\John\Downloads\2021-11-23-botlab-client' to the 'PATH' environment variable for the current Windows user account. You will be able to use the 'BotLab' command in newer instances of the Command Prompt.
That's it; the installation is complete. Now you can use the botlab command in the Windows Command Prompt in any directory. Note that this will not work in Command Prompt windows that were already open before. Open a new window to use the newly registered program.
If you have any questions, the BotLab forum is a good place to learn more.