- Create a project as normal
- Under Pre or Post Steps select "Execute Windows Batch Command"
- Enter any DOS command
- you must enter the full path to the command, unless it is an internal command like copy, delete etc.
- the confusion around this menu option is it sounds like you can execute the .bat file and internal command like copy, delete etc. The reality is, any command that can be executed from within a batch file can be executed within the panel you are presented with
- Any commands where the PATH or filename comprise of spaces, should be enclosed in "" (double quotes), DO NOT include within the quotes the arguments to the command. e.g. "C:\Program Files\Docker Toolbox\docker.exe" cp --help
General
Content
Integrations