Find all Office 2007 files created in a machine

Posted on 2007-08-06
Last Modified: 2013-11-05

I want to search the whole machine for all office 2007 created file.Say word,excel,ppt etc file in all the drives and folders.

Is there a way to find them.

Question by:bsharath
    LVL 3

    Expert Comment

    Windows - you can just do a search using the default search method

    DOS-ie way:
    Quick easy way.  Write a batch file like this:

    cd c:
    dir /s *.xls >excel.txt
    dir /s *.doc >word.txt
    dir /s *.ppt >ppt.txt

    and so on for whatever extensions you want.  You can change the drive name to whatever you need and have as many drives as you need.

    This will put the directory listing for each type into a txt file you can look at.
    LVL 11

    Author Comment

    Can you please put in the batch file commands
    LVL 3

    Accepted Solution

    K, open notepad and type the following:

    cd c:
    md txt_temp
    dir /s *.xls >c:\txt_temp\excel_c.txt
    dir /s *.doc >c:\txt_temp\word_c.txt
    dir /s *.ppt >c:\txt_temp\ppt_c.txt
    dir /s *.(other extension) >c:\txt_temp\(other extension)_c.txt

    cd x: (x = any other drive you would like)
    dir /s *.xls >c:\txt_temp\excel_x.txt
    dir /s *.doc >c:\txt_temp\word_x.txt
    dir /s *.ppt >c:\txt_temp\ppt_x.txt
    dir /s *.(other extension) >c:\txt_temp\(other extension)_x.txt

    and so on until all the drives are covered.

    Then save the file as file_name.BAT  (not a txt as notepad will want to do)

    Then run the bat file.  The *.txt files will be created in the c:\txt_temp\ directory.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    by Nathan Brom/Bromy2004 Introduction There are numerous websites out there for any different type of program you can imagine.  Of those, you'll need to decide which ones are legitimate and aren't trying to steal your money or infect your comput…
    Have you ever had a hard drive that you can't boot into, but need to change the registry? Here is the solution! This article guides you through accessing and editing a registry of a non-primary drive. To read registry information on a non-prim…
    In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
    Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now