Faster File Searching In Windows XP

Tags:
Faster Files Searching Windows Windows XP Tips Tricks How Command Search Stane37 Fast
stane37
  • By: stane37
  • Subscribers: 15
  • Updated: 30-Apr-08
  • Videos: 4
  • International International
  • Comments: 2
  • Views: 2,104
  • Added: 02-Oct-07

If you have a slow machine, and the windows search wizard runs insanely slow, there is a solution! Search faster using command line!

  1. Categories: How To, Science & Tech
  2. Related Link: About The Command Line
  3. Favorite On: shreddn1 matiolok selfalready
Comments on

Faster File Searching In Windows XP

2 Comments | Add Comment
  • Use this instead:

    make a batch file and paste that in it... Save as search.cmd under c:windowssystem32 and run from command prompt (or run prompt):

    @echo off
    set string=
    if "%1" == "" (
    set /p string=Enter search string:
    ) else (
    set string=%1
    )
    if "%string%"=="" goto error
    echo.
    echo Searching C: for for all files containing string "%string%"
    echo (Press CTRL-C to abort)
    echo.
    echo.
    dir c: /s /b | find "%string%"
    if %errorlevel% == 1 echo Nothing found.
    goto end

    :error
    echo.
    echo No search string specified.
    echo.

    :end

    By Black Lotus 1191354303 Reply Spam Moderate Up Moderate Down
2 Comments | Add Comment