Horje
dir sort by Code Example
dir sort by
dir *.txt *.doc		# filter by extension (both doc and txt)
dir	/a:-d			# files only (no subfolders)
dir /s				# current directory and subfolders content
dir /s /a:-d		# files only (including subfolders)
dir > myfile.txt	# stored in myfile.txt (dir /s > myfile.txt with subfolders)
dir /o:[sortorder] 	# example:  dir /o:-s    (sort by decreasing size)
  N : By name (alphabetic).
  S : By size (smallest first).
  E : By extension (alphabetic).
  D : By date/time (oldest first).
  - : Prefix to reverse order.




Shell

Related
dir command list all files and subdirectories Code Example dir command list all files and subdirectories Code Example
what .net framework do i have installed Code Example what .net framework do i have installed Code Example
youtube-dl Code Example youtube-dl Code Example
installing a downloaded package in ubuntu Code Example installing a downloaded package in ubuntu Code Example
add local folder to git repo Code Example add local folder to git repo Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
16