Assume I want to run
>foo bar
but bar
changes depdending on where I am in my filesystem. What I'd like to do, so I don't have to remember the proper value of bar
, is to keep a file fizz
in the respective folders so I can do something like call
>foo fizz
which of course doesn't work out of the box. Neither does
>foo < fizz
because foo
doesn't expect input, just a parameter. I found a solution for Linux, but nothing for Windows.