Find all Office 2007 files created in a machine

Posted on 2007-08-06
Medium Priority
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
  • 2

Expert Comment

ID: 19639822
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

ID: 19643445
Can you please put in the batch file commands

Accepted Solution

BrandonTaylor earned 2000 total points
ID: 19645806
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.

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many admins will agree: WSUS is is a nice invention but using it on the client side when updating a newly installed computer is still time consuming as you have to do several reboots and furthermore, the procedure of installing updates, rebooting an…
INTRODUCTION The purpose of this document is to demonstrate the Installation and configuration of the Data Protection Manager product. Note that this demonstration was prepared on the basis of Windows OS is 2008 R2 and DPM 2010. DATA PROTECTI…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

864 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