@echo Directory Listing
@REM the /A switch lists all hidden and system files as well.
@REM the /S switch lists all subdirectories and their contents.
@dir %1 /A /S > c:\dirListing.txt
@notepad c:\dirListing.txt
@pause
Published in: Batch
Download

Related snippets