I want to use ls in windows command prompt and make it run the dir command.
How can I do that?
my ls.bat was below
@dir %*
that can transfer cli args
ls /b ls /w
put it in %windir% or any directory in your %PATH% variable.
Just make sure you save the file with ANSI encoding :)