DOWNLOAD: Best tool to repair Windows problems & optimize system performance | Best driver update software for your PC
 
Results 1 to 2 of 2
Like Tree1Likes
  • 1 Post By bbr13

Thread: Tip: Save the directory list in file dir.csv

  1. #1
    bbr13 is offline New Member
    Join Date
    Dec 2011
    Posts
    1

    Default Tip: Save the directory list in file dir.csv

    Trick for Windows Explorer (all versions).

    Windows cannot create a file containing the list of files in a directory.
    With this trick, after positioned in a directory, right click can bring up a context menu option "Save the directory list in file dir.csv"
    After selecting this option, a file "dir.csv" is created in this directory. It lists the files in the directory.
    File with extension csv can be opened with any text editor, or directly into Microsoft Excel or similar.

    Setting up the trick "Save the directory list in file dir.csv"

    1. To save in "dir.csv" the names of all the files but directories

    Copy this text with CTRL + C:

    Windows Registry Editor Version 5.00

    Code:
    [HKEY_CLASSES_ROOT \ * \ shell \ List directory]
    @ = "Save the directory list in file dir.csv"
    [HKEY_CLASSES_ROOT \ * \ shell \ List the \ command]
    @ = "cmd.exe / c DIR / A, D / B> dir.csv"
    2. To print in "dir.csv" the names of all files including directories

    Copy this text with CTRL + C:

    Windows Registry Editor Version 5.00

    Code:
    [HKEY_CLASSES_ROOT \ * \ shell \ List directory]
    @ = "Save the directory list in file dir.csv"
    [HKEY_CLASSES_ROOT \ * \ shell \ List the \ command]
    @ = "cmd.exe / c DIR / B> dir.csv"
    Next:

    Create a new text file
    - Right click on the desktop
    - Then "New"
    - Then "Text Document"
    - Validate the default name

    Open the file by double-clicking
    Paste the clipboard with CTRL + V
    Save under "dir.reg" on the desktop
    Run the file "dir.reg" by double-clicking
    Answer "Yes" or "Ok" to all questions

    Now you can test ... Enjoy the tweak!

    bbr13

    HappyAndyK likes this.

  2. #2
    jennie23 is offline New Member
    Join Date
    Jan 2012
    Location
    New York
    Posts
    3

    Default

    Hi,

    I was looking for the same and i found it suddenly. Thanks a lot.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22