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



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@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:46DBE01D-2B78-4D25-ACB9-73F23E5C6059@xxxxxxxxxxxxxxxx
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?


.



Relevant Pages

  • Re: Apple recommending anti-virus software for Macs?
    ... > To be ultra-safe with the 'rm' command, ... Not a bad idea for root, It would drive me nuts in my user account. ... downloads directory and executing it. ... That I type an EOF is a trivial difference versus 'sudo' exiting ...
    (comp.sys.mac.system)
  • Re: System-users and-groups?
    ... bin shouldn't do so much. ... was root and bin... ... Although the daemon user/group are ... as that user runs that command. ...
    (alt.linux)
  • RE: remote ssh for root
    ... forced-commands-only option set, you have to have the command option set. ... execution as root. ... > This message contains confidential information and is ...
    (SSH)
  • Re: grub menu oddity
    ... >>> command (until the manual root command was executed). ... >>> When I first encountered this behavior, it took several reboots for me to ... FWIW - a new CMOS battery is only $3-5 at your local Shaque du Radio ...
    (comp.os.linux.setup)
  • Re: [PHP] strange errors from command line vs. web
    ... standard php. ... > can't run the script from the command line even when I su to root. ... >>> I have some code that makes a connection to the db. ...
    (php.general)