All Things Microsoft > Microsoft Software

dos aliases?

<< < (3/4) > >>

voidmain:
That's not an alias. It's nothing more than adding a directory to your PATH.  Every luser should know how to do that. Again, you can not alias internal commands (actually you can't "alias" period) in DOS. You can not create a "cd.bat" in DOS/Windows and run it by typing "cd", no matter what you do to your path..

[ August 03, 2002: Message edited by: VoidMain ]

choasforages:
well, my question, is since "ich nicht spreken sie dos" /*really shitty germen i think, just forget it*/ how do i make ls list and cp copy

voidmain:
Do you mean in Linux?  As in:

alias copy=cp

sporkme:
yes the batch (.bat) file is the simplest solution, just make sure it doesn't replace another command.

new dos is all crippled though. good luck using it to to much more than basic file commands and starting programs.

voidmain:
But replacing a command is exactly what he wants to do. Hence the word "alias". For the 4th time, you can not replace or alias a DOS builtin command with a batch file.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version