Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

File List (FileList.txt) Registry Tweak

Featured Replies

REGEDIT4

[HKEY_CLASSES_ROOT\Directory\shell\FList]
@="Create File List"

[HKEY_CLASSES_ROOT\Directory\shell\FList\command]
@="C:\\WINDOWS\\command.com /c dir \"%1\" /a-d /b|sort>FileList.txt"

doesn't list folders only current folder contents although you can change that

type dir /? at the DOS prompt and change parameters to suit yourself

bug (kinda) - be aware that it always includes the FileList.txt in the list,

if done from the current folders icon (top left of a window) rightclick.

figured it the other night, no biggy, just thought some might find it handy....

edited - revised after some good input from ack-h

Edited by miko

  • Author

the folder you do it to,

so if you right click on the icon on the top left corner of a folder called E:\SOMEFILES\SUBFILES and select 'Create File List' FileList.txt will be created in E:\SOMEFILES\SUBFILES

:)

Edited by miko

the folder you do it to,

so if you right click on the icon on the top left corner of a folder called E:\SOMEFILES\SUBFILES and select 'Create File List' FileList.txt will be created in E:\SOMEFILES\SUBFILES

:)

NICE!

jaclaz

Very nice thank you. Do you know another syntax that would extract the full paths rather than the names only ?

Very nice thank you. Do you know another syntax that would extract the full paths rather than the names only ?

type dir /? at the DOS prompt and change parameters to suit yourself

Remove /b. :)

Remove /b.

In fact I must add /s and not remove /b to obtain I want (almost). Full pathnames list in LFN format. Just only it does list files in subdirs as well if any.

REGEDIT4

[HKEY_CLASSES_ROOT\Directory\shell\FList2]
@="Create File List with Paths"

[HKEY_CLASSES_ROOT\Directory\shell\FList2\command]
@="C:\\WINDOWS\\command.com /c dir \"%1\" /a-d /on /b /s > FileList.txt"

Takes one second to list alphabetically (almost) 7594 files in my Windows folder but unfortunately several (Too many files, directory not sorted) messages on the list. Files are there but they aren't sorted if there are too many files in a directory.

I've just tried it on drives.

REGEDIT4

[HKEY_CLASSES_ROOT\Drive\shell\FList]
@="Create File List"

[HKEY_CLASSES_ROOT\Drive\shell\FList\command]
@="C:\\WINDOWS\\command.com /c dir \"%1\" /a-d /on /b /s > FileList.txt"

Took just a few seconds to output a 5.54 MB filelist (90.676 lines) of my C:\ drive but same alphabetical sorting limitation as above.

Is there a way to output the results on the desktop ? Here despite I haven't changed the syntax for that, the output is not in the parent dir (there isn't any real one, it's My Computer) but in the root of the drive.

Edited by eidenk

Please post some excerpts from the list which show

where the sorting "breaks".

...

C:\WINDOWS\Start Menu\Programs\StartUp\RAM_ME.exe.lnk

C:\WINDOWS\Start Menu\Programs\StartUp\Smiley.lnk

C:\WINDOWS\Start Menu\Programs\StartUp\Strokeit.lnk

(Too many files, directory not sorted)

C:\WINDOWS\SYSTEM\ISSETUP.DLL

C:\WINDOWS\SYSTEM\SYSIEX.BIN

C:\WINDOWS\SYSTEM\LVFWWDM.DRV

...

That is I think the most typical example.

Many others are marked as non-sorted but appear sorted. Apparently those are only directories from which I have never modified any file (and in which they were created following an alphabetical sequence ?).

Edited by eidenk

Try

[HKEY_CLASSES_ROOT\Drive\shell\FList\command]
@="C:\\WINDOWS\\command.com /c dir \"%1\" /a-d /b /s|sort>FileList.txt"

  • Author

[HKEY_CLASSES_ROOT\Drive\shell\FList\command]
@="C:\\WINDOWS\\command.com /c dir \"%1\" /a-d /b /s|sort>C:\\WINDOWS\\DESKTOP\\FileList.txt"

this should do the other thing (FileList.txt to the Desktop)

also, about the printing a directory contents, it's possible ">prn" might be able to be used instead of ">FileList.txt" rather than that external batch file solution (someone would have to try this as i don't have a printer :blushing: )

Edited by miko

  • 2 years later...
REGEDIT4

[HKEY_CLASSES_ROOT\Directory\shell\FList]
@="Create File List"

[HKEY_CLASSES_ROOT\Directory\shell\FList\command]
@="C:\\WINDOWS\\command.com /c dir \"%1\" /a-d /b|sort>FileList.txt"

doesn't list folders only current folder contents although you can change that

type dir /? at the DOS prompt and change parameters to suit yourself

bug (kinda) - be aware that it always includes the FileList.txt in the list,

if done from the current folders icon (top left of a window) rightclick.

figured it the other night, no biggy, just thought some might find it handy....

edited - revised after some good input from ack-h

anyway to update this file so that it lists subfolders as well

@="C:\\WINDOWS\\command.com /c dir \"%1\" /a-d /b|find /V "FileList.txt"|sort>FileList.txt"

This improvement should remove the "FileList.txt" file from the list created.

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.