Re: How do I search for files with no extensions?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance




Bill Braun wrote:
A brief experiment resulted in a very onerous, ungainly,
unsophisticated, and not very pretty way of finding files without
extensions.

Search for *.* and then sort the result by Type. Look for files of
Type=File.

I created three file in a folder, new_doc.txt, new_doc1, and new_doc2
(latter two with no extension).

After sorting, both files without an extension were clustered together.

Bill B.


The method might not be graceful, but the english was, and the method
is effective.

I did a slightly different test on that method.

That method does seem to work across folders and regardless of the
filename . I had sub folders a b and c and files 'r' 'a' and 'd' and
z.txt and b.txt .

As you said, search , sort by type.

It listed the subdirectories (a,b,c) together, *then all the files
(r,a,d) with no extension - those files were in different
directories*(so it worked perfectly), then it listed the rest of the
files.


..\a\
..\b\
..\c\
..\a\r
..\b\a
..\c\d
..\b\z.txt
..\a\b.txt

.



Relevant Pages

  • Re: [PoSh] Collecting oneliners/scripts to wow others
    ... CHANNEL A DIMM 0 536870912 400 ... PoSH> gci | sort extension | ft -groupby extension ...
    (microsoft.public.windows.server.scripting)
  • Re: sort by file extension
    ... microsoft.public.windowsxp.basics, Patricia Shannon ... I want to be able to sort by file extension. ... In Windows Explorer, I have .log files that show the "Type" to be ... So when I sort by "Type", it sorts the .log and .txt files together. ...
    (microsoft.public.windowsxp.basics)
  • Re: sort by file extension
    ... Document" to "Log File" in the .reg file and import them again. ... I want to be able to sort by file extension. ... So when I sort by "Type", it sorts the .log and .txt files together. ... I'm sure that sorting by "Type" used to sort by file extension. ...
    (microsoft.public.windowsxp.basics)
  • Re: Tcl Extension Location Repository
    ... Seems like this could be something stored in a database (say sqlite) ... email address associated with the extension. ... some incoming mail filters so that updates could be emailed. ... Note that I used to provide just this sort of thing - as the old ...
    (comp.lang.tcl)
  • Re: Cannot display /etc/fstab
    ... >>extension to tell it what sort of a file it is. ... > wheather the OS always tries to access the floppy when I open the folder.. ...
    (linux.redhat)