0

I want to run doskey macros one after other. Since

doskey a = "some big command"
doskey b = "other big command"
..
..

and a && b does not work, I do

for /l %i in (1 1 1) do (
a
b
...)

I want to replace this using a small command like run (a b c d) or

run (
a
b
)

How do I do it? doskey run = for /l %i in (1 1 1) do does not work.

bunny10245
  • 105
  • 8
  • You cannot run a Doskey macro from a batch file. – Squashman Oct 12 '16 at 12:53
  • What about `a & b`? – aschipfl Oct 12 '16 at 16:15
  • @Squashman I donot want to run from macros from a batch file. I already have a set of doskey macros which are quite long and take around 30 mins each. From command line I want to call them sequentially before I go out for a coffee, so that they are done by the time I come back. – bunny10245 Oct 13 '16 at 11:09
  • @aschipfl `a & b`doesn't work. Only a executes saying b is not recognizable command. – bunny10245 Oct 13 '16 at 11:11

0 Answers0