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,425
  • 1
  • 18
  • 28
hawx
  • 1,589
  • 5
  • 20
  • 36
  • 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,789
  • 6
  • 29
  • 43