G Guest May 4, 2007 #1 How do I print the contents of a folder, that is, a list of all the contained files?
A Ayush May 4, 2007 #2 [src]s message : How do I print the contents of a folder, that is, a list of all the contained files? Click to expand... DIR "PATH" /A-D /B > FILEPATH PATH can contain wildcards( * and ? ). e.g. if you want to list all the .DAT files in C:\Windows\System32, use: DIR "C:\Windows\*.dat" /A-D /B > FILEPATH e.g. DIR "C:\Windows\*" /A-D /B > "C:\WIndows\All Files List.txt" Type- DIR /? at command prompt for more info.. Good Luck, Ayush.
[src]s message : How do I print the contents of a folder, that is, a list of all the contained files? Click to expand... DIR "PATH" /A-D /B > FILEPATH PATH can contain wildcards( * and ? ). e.g. if you want to list all the .DAT files in C:\Windows\System32, use: DIR "C:\Windows\*.dat" /A-D /B > FILEPATH e.g. DIR "C:\Windows\*" /A-D /B > "C:\WIndows\All Files List.txt" Type- DIR /? at command prompt for more info.. Good Luck, Ayush.