Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2008-06-25
7
Medium Priority
?
1,954 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 1000 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 1000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Change your password...do it now!. Probably the easiest point of access to your account is through guessing your password. If your password is guessable, do change it now. If not for your sake but for everyone else in your friends list. Remember …
For those of you actively in the Malware fightling business, we now have available an amazing new tool in the malware wars (first recommended to me by rpggamergirl (http://www.experts-exchange.com/M_3598771.html), the Zone Advisor for the Virus and …
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

885 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