I want to use ls in windows command prompt and make it run the dir command.
How can I do that?
You could:
ls.bat
dir
PATH
You could then execute ls from a command prompt.
ls