Skip to content

Instantly share code, notes, and snippets.

@wangyung
Created October 7, 2015 15:37
Show Gist options
  • Save wangyung/8f9eb61388ee5d501875 to your computer and use it in GitHub Desktop.
Save wangyung/8f9eb61388ee5d501875 to your computer and use it in GitHub Desktop.
create 'ls' in windows cmd
rem Run below as administrator
echo dir %1 > %systemroot%\system32\ls.bat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment