Solved

How can I delete Extend.dat flle from all the compters simultaneously?

Posted on 2008-06-25
7
1,929 Views
Last Modified: 2013-11-22
Hi,

I'm planning to remove delete Extend.dat file from all my networked computers,as I'm facing problem with MS-Outlook. Is there any script/batch file to accomplish this task?

Many thanks.

BYE

0
Comment
Question by:NARENDRA_CHHATTANI
  • 2
  • 2
7 Comments
 
LVL 6

Accepted Solution

by:
kosmoraios earned 250 total points
ID: 21870570
You could add a line to your logon script:

del "%appdata%\microsoft\outlook\extend.dat"

Or you could use a batch file, as below, by adding all the machine names to a file called computerlist.txt. (batch script borrowed from previous answer number 23001520)


@echo off

for /F %%G in (computerlist.txt) do (

 for /F "tokens=* usebackq" %%H in (`dir "\\%%G\c$\documents and settings" /A:D /B`) do (

  del "\\%%G\c$\documents and settings\%%H\application data\microsoft\outlook\extend.dat" 2>NUL

 )

)

Open in new window

0
 

Author Comment

by:NARENDRA_CHHATTANI
ID: 21878415
Thanks I'll give a try to it an dlet u know then.


Bye
0
 
LVL 1

Assisted Solution

by:Relentim
Relentim earned 250 total points
ID: 21961759
I believe 'extend.dat' lives in the other 'Application Data' folder in 'Local Settings'.

I used this script successfully, deleting it from both, just in case.

del "%appdata%\microsoft\outlook\extend.dat"

del "%USERPROFILE%\Local Settings\Application Data\Microsoft\Outlook\extend.dat"

Open in new window

0
 

Author Comment

by:NARENDRA_CHHATTANI
ID: 21968862
Thanks a lot. I accept this as a solution


0
 
LVL 6

Expert Comment

by:kosmoraios
ID: 22402333
I believe credit should at least be split, as I provided the script and Relentim corrected my path.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

PREFACE The purpose of this guide is to provide information to successfully install the MS SQL client tools for the Symantec Endpoint Protection Manager (SEPM) to function properly when installed on Windows 2008. AUDIENCE Information Technology…
I recently had to create a utility which aim is to update McAfee's Virusscan and that had to be launched from a command line. I thought I’d share my experience with you. Why is it useful to be able to update an Antivirus from the command line?…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

762 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

19 Experts available now in Live!

Get 1:1 Help Now