0

I have the command below.

php public/index.php phinx setup

Is there a way in which I could simplify this in Windows? I was wanting to create a shortcut/alias as shown below.

phinx setup

Any help would be appreciated.

rojomoke
  • 3,765
  • 2
  • 21
  • 30
hawx
  • 1,629
  • 5
  • 21
  • 37
  • I ended up creating a C:\bin\phinx.cmd with "php public/index.php phinx %1". Now works like a charm via my IDE. – hawx Sep 16 '15 at 13:22
  • Or $ echo php public/index.php phinx %1 > C:\bin\phinx.cmd – hawx Sep 16 '15 at 13:26

1 Answers1

4

This is what you are looking for:

doskey test=cd \a_very_long_path\test

You can find more information here.

MichaelS
  • 5,941
  • 6
  • 31
  • 46