Redirect the output of the 'search all files and folders'

  • Thread starter Thread starter J. Dennison
  • Start date Start date
J

J. Dennison

I would like to use the 'Search Files or Folders' command from the XP menu
but instead of the information being displayed on the screen have it written
to a text file.

Does anyone know of a way to do this?
 
This is the first thing off the top of my head: use the dir command.



1.. Go to a command prompt
2.. Go to the root of the drive you want to search in. Just keep typing
cd.. until you get to the root of the drive.
3.. If you want to search for a particular file name, then type the
following command:


dir *term*.* /s > c:\result.txt



Note: replace "search" with the term you are searching for. The asterisk is
a wild card. The /s means to search all subfolders also. If you need more
help with these commands, see http://www.computerhope.com/dirhlp.htm.

4.. The results of the search will be in the result.txt file.
"J. Dennison" <J. Dennison@discussions.microsoft.com> wrote in message
news:46DBE01D-2B78-4D25-ACB9-73F23E5C6059@microsoft.com...
I would like to use the 'Search Files or Folders' command from the XP menu
but instead of the information being displayed on the screen have it written
to a text file.

Does anyone know of a way to do this?
 
How to print Windows XP Search results to a file ?:
http://windowsxp.mvps.org/searchresults.htm

Printing search results using the "Send To" Powertoy:
http://groups.google.co.uk/groups?selm=ekT9IKs0EHA.1860@TK2MSFTNGP15.phx.gbl

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


"J. Dennison" <J. Dennison@discussions.microsoft.com> wrote in message news:46DBE01D-2B78-4D25-ACB9-73F23E5C6059@microsoft.com...
I would like to use the 'Search Files or Folders' command from the XP menu
but instead of the information being displayed on the screen have it written
to a text file.

Does anyone know of a way to do this?
 
Thanks,
I have use the dos redirect command, but I was wanting to search the entire
network as the search files or folders does. I think the Ramesh, MS-MVP has
the solution.

"Martin X." wrote:

> This is the first thing off the top of my head: use the dir command.
>
>
>
> 1.. Go to a command prompt
> 2.. Go to the root of the drive you want to search in. Just keep typing
> cd.. until you get to the root of the drive.
> 3.. If you want to search for a particular file name, then type the
> following command:
>
>
> dir *term*.* /s > c:\result.txt
>
>
>
> Note: replace "search" with the term you are searching for. The asterisk is
> a wild card. The /s means to search all subfolders also. If you need more
> help with these commands, see http://www.computerhope.com/dirhlp.htm.
>
> 4.. The results of the search will be in the result.txt file.
> "J. Dennison" <J. Dennison@discussions.microsoft.com> wrote in message
> news:46DBE01D-2B78-4D25-ACB9-73F23E5C6059@microsoft.com...
> I would like to use the 'Search Files or Folders' command from the XP menu
> but instead of the information being displayed on the screen have it written
> to a text file.
>
> Does anyone know of a way to do this?
>
>
>
 
Back
Top