AssemblyLine AssemblyLines/CommandLine failed with error: CreateProcess: dir error=2

Make sure you use the right command along with the internal shell commands.

If you are running Windows, and trying to execute an internal shell command (such as dir or any command listed by the command), you might have forgotten to prepend cmd /c . For example, the correct syntax for the dir command is cmd /c dir.