135lc icon proton persona bloggoogle chromejoomlabusiness information technology sdn bhdpolis diraja malaysia
  • Increase font size
  • Default font size
  • Decrease font size
  • leftlayout
  • rightlayout

Create List Of Files Using Command.EXE

E-mail Print PDF
0.0/5 (0 vote)

Here is the step by step on how to create a list of files in specific folder / drive using command prompt (command.exe). 

  1. Use DIR Command To Generate List Of Files And Store It In File 
  2. DIR /S /B /A:-D
  3. I use simple DIR command to generate file lists. It serves me in many scenarios. For example, I use it to generate .Net assemblies list when I conduct preliminary scan as part of code inspection process. Here are the explanations to the switches:
    * /S - search sub folders
    * /B - bare format, no summaries and headings
    * /A:-D - no directories, files only
  4. To save generated list of files into text file simply add > C:\myfileslist.txt. The resulting command would look as follows:
  5. DIR /S /B /A:-D *.DLL > C:\myfileslist.txt
Last Updated ( Monday, 27 October 2008 14:26 )  

AMIRUDIN.COM - Walk To Remember

↑ Grab this Headline Animator

Follow Me

hattchummm.. selsema.. huh..
baru balik dari cherating. nasib tak kena present. becuti tolong kwn2 jer :)
aduih.. demam lagi harini. bangun pagi pun sakit kepala jugak.

Advertisement

Nuffnang Ads

Download Section

N95 (1)

Gold Price

Featured Website

Lowyat.net
Lowyat.net
Maybank2u
Maybank2u