I make
php artisan make:command BackupDatabaseCommand --command="command:backupdb"
I also registered firmly app\Console\kernel.php
protected $commands = [
\App\Console\Commands\BackupDatabaseCommand::class,
];
But even if you try to execute the command i get here
The system cannot find the path specified. I want to know how to solve it

"App\Console\Commands\BackupDatabaseCommand",php artisan?The system cannot find the path specifiedmight refer to PHP not being installed, you trying to execute the command outside of the directory where theartisanfile is or your command is trying to access a file that is not found. We need to know which one it is really\Commands\BackupDatabaseCommand::class,not\App\Console\Commands\BackupDatabaseCommand::class,