2

Ideas gathering here!

What would be the easiest way to make some aliases for windows xp's cmd, so one doesn't have to enter the same parameters over and over again?

For example,

rmdir /s would become rd (or just rmdir)
1
  • Too late; they already thought of that :) the builtin DOSKEY command does this – Nate Koppenhaver Nov 5 '11 at 1:51
7

You can use the built-in doskey command for this.

For your example, you would type:

doskey rd=rmdir /s $*
1
  • Should've known that ... :/ Thanks ! – Rook Nov 5 '11 at 2:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.