Ls Windows Command Prompt Code Example


Example 1: ls equivalent in CMD

Use the command dir to list all the directories and files in a directory

Example 2: use ls in windows

echo @dir %* > %systemroot%\system32\ls.bat  Make sure you are running cmd as admin

Comments

Popular posts from this blog

530 Valid Hostname Is Expected When Setting Up IIS 10 For Multiple Sites

C Perror Example

Converting A String To Int In Groovy