Yes you can - you need to add lib/Cake/Console to you ensironment path (see
the screencast by GWoo)

http://book.cakephp.org/2.0/en/installation/advanced-installation.html
http://book.cakephp.org/2.0/en/console-and-shells/code-generation-with-bake.html?highlight=bake
 - S




On 6 February 2012 23:05, AaronAdvecor <[email protected]> wrote:

> I actually hadn't been doing that, so I tried it and it worked!  Thank
> you very much for the help!
>
> However, I'm still wondering if it's possible to somehow change the
> value of the system environment variable "path" so I can just type
> "cake bake" from any directory via commandline and have Bake launch.
>
> Does anyone know if this is indeed possible?
>
>
>
> On Feb 4, 7:22 am, euromark <[email protected]> wrote:
> > did you navigate to the app folder before typing "cake bake"?
> > C:\path\app>
> >
> > seehttp://www.dereuromark.de/2010/10/03/console-for-cakephp/
> >
> > On 4 Feb., 01:17, AaronAdvecor <[email protected]> wrote:
> >
> >
> >
> >
> >
> >
> >
> > > I'm not sure if I'm at the right place to get help, but if I'm not,
> > > would someone clue me in?
> >
> > > Myissueconcerns properly starting Bake from Windows XP commandline.
> >
> > > I have ";C:\xampp\php;C:\xampp\htdocs\cake\console" appended to my
> > > system environment variable "path" and I'm able to launch the CakePHP
> > > Console from my Windows XP commandline.  However, when I try to
> > >initializeBake via the command "cake bake", I'm prompted with "What
> > > is the full path for this app including the app directory name?"
> >
> > > I've tried entering every seemingly relevant directory I can think of
> > > (including "C:\xampp\htdocs\cake\console\libs" and "C:\xampp\htdocs
> > > \cake\console"), but regardless, what happens next is I get prompted
> > > with the creation of a skel directory in whatever directory I enter.
> >
> > > I've even gone ahead and created the skel directory, but to no avail.
> > > It creates the directory alright, but then just prompts me with
> > > creating another one when I try to initiate Bake again.  (I've also
> > > tried starting Bake using the "cake bake -app C:\xampp\htdocs\cake
> > > \console" command, but that doesn't make any difference.)
> >
> > > I'd really appreciate some help on this, as all other elements of
> > > CakePHP are working great.  I just need to get Bake up and running.
> >
> > > Thank you in advance for any help anyone can offer...
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> [email protected] For more options, visit this group
> at http://groups.google.com/group/cake-php
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to