not sure if what i did was correct, but here's what i did:

in the pathtocake\cake\console\cake.bat, i changed "php -q "%lib
%cake.php" -working "%CD%" %*" to be: "pathtophp\php.exe -q "%lib
%cake.php" -working "%CD%" %*"

also, i needed to set PATH=pathtocake\cake\console

lastly, when doing "cake bake", i added the -app param to change my
working path, e.g.: "cake bake -app pathtocake\app\". this works
assuming you are deploying to the default app folder.

On Nov 19, 2:08 am, Srini <[EMAIL PROTECTED]> wrote:
> Hai Daniel,
>
> Thanks for giving the reply.Iam very new to cakePHP.iam using windows
> os.
>
> i had tried this on command prompt:
> start -> run -> cmd
>
> cd to/projectpath/cake/console
>
> then cake bake
>
> but it has been failed.
>
> Thanks,
> Srini
>
> On Nov 18, 7:08 pm, Daniel Hofstetter <[EMAIL PROTECTED]> wrote:
>
> > Hi Srini,
>
> > > how to bake the cotroller from console in cake php.
> > > anyone can help me in this.
>
> > Have a look athttp://book.cakephp.org/view/113/Code-Generation-with-Bake
>
> > Hope that helps!
>
> > --
> > Daniel Hofstetterhttp://cakebaker.42dh.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to