Error: Shell class HelloShell could not be found appears because: typo error or start command in the wrong directory.
Decision:
1. Installation path for php.exe, cake.exe
2. For example, my root Cake site:
C:\tools\xampp1.8.3\htdocs\cakephp-2.5.5
Create a new file in the folder C:\tools\xampp1.8.3\htdocs\cakephp-2.5.5\app\Console\Command\HelloShell.php with the content:
class HelloShell extends AppShell { public function main() { $this->out('Hello world.'); } }
3. Open cmd , enter:
cd /d C:\tools\xampp1.8.3\htdocs\cakephp-2.5.5\app cake hello
We use hello on the command line to call the HelloShell class, because itβs a "convention on configuration."

Link: http://book.cakephp.org/2.0/en/console-and-shells.html#creating-a-shell
Do nhu vy
source share