Batch Directory Listing Script

Directory Listing Script

@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