This post help to show/print the directory contents, this trick’s procedure are given below
Step 1 : make “print_directory.bat” file in directory ( C:/, D:/, …….) Which directory content u want
Step 2 : Making .bat file by Open Notepad
Step 3 : Then enter these contents
@echo off
dir%1 /O:g>c:directory.txt
start /w notepad /p c:directory.txt
del c:directory.txt
exit
note : these contents for print contents of C:/ drive, for another drive change the drive letters in the above commands
Step 4 : Save this notepad contents as the filename as print_directory.bat
Step 5 : After saving , Open the print_directory.bat file, this will show you the directory contents of C:/ drive