> > Hi!
> > See if you can solve my problems, please!
> > 1: How can we rearrange this command: DOSKEY TYPE1 = MORE $L $1
> > into DOSKEY TYPE2 = ? using MORE at the end of the equation?
> > The question mark sign (?) above is the essence of the question where
> > I need to put MORE at the end of the command line in Type2, but still
> > hold the same result with Type1.
> > 2: A macro MCD that will create a directory, then automatically make
> > that directory the active one. Also, make this a generic command that
> > can be used as many times as you want to use it.
> > Your contribution will be very much appreciated.
> > Thanks.
> Sounds very much like a homework problem. We don't generally do
> people's homework for them in this newsgroup, though we can help someone
> who is stuck with a problem.
> I'll give you a few hints.
> 1. Consider the TYPE command as part of the solution here.
> 2. How would you perform the creation of a directory from the
> keyboard? And then, how would you change into that directory?
> Okay, now just put those two command together, replacing the
> directory name with a $1, and use a $T between the two statements
> to create your macro.
> Tom Lavedas
Yah right Tom!
My question is part of my project - A+ Certification - in which your
contribution was so helpful. Without your hints Tom, I would not have a
clue how to solve my problems. In any case, I worked them out and got the
correct answers as shown below:
Problem 1: DOSKEY TYPE2 = TYPE $1 $B MORE
Problem 2: DOSKEY MCD = MD $1 $T CD $1.
Thank you Tom.
Thanks also for the service of the CNET-Help People.
Posted via CNET Help.com