Microsoft
Software
Hardware
Network
Question : vbscript for deleting outlook files
I need to know how to vbscript and make a batch file of the below. I want it to seek out if machine is xp or vista and if it is then I want it to close the outlook and delete the files and then open back up outlook. This applies to just outlook 2007. It would be nice if it worked on outlook 2003 but outlook 2007 is main concern
Outcmd.dat:
C:\Documents and Settings\
\Local Settings\Application Data\Microsoft\Outlook
C:\Users\
\AppDat
a\Roaming\
Microsoft\
Outlook
Extend.dat:
C:\Documents and Settings\
\Applic
ation Data\Microsoft\Outlook
C:\Users\
\AppDat
a\Local\Mi
crosoft\Ou
tlook
Frmcache.dat:
C:\Documents and Settings\
\Applic
ation Data\Microsoft\Outlook
C:\Users\
\AppDat
a\Local\Mi
crosoft\FO
RMS
Views.dat:
C:\Documents and Settings\
\Applic
ation Data\Microsoft\Outlook
C:\Users\
\AppDat
a\Local\Mi
crosoft\Ou
tlook
Answer : vbscript for deleting outlook files
I didn't verify the paths. I used exactly what you posted. Verify that strUser contains the correct user name. If it does, then verify the path and file name.
Random Solutions
formatting percent in SQL Reporting services 2005
Outlook cache does not retain data
I'm having email bouncing back undeliverable from one client machine
Event ID 9543 / Unable to create Public Folder proxy object in the Active Directory.
Partition XP Drive: Combine two partitions when temp install files are residing on C:
Windows update failure (Security Update for SQL Server 2005 Service Pack 2
A tiny Bash Script to sort and show
Exchange 2003 mail attachment limit
RRAS static routes for Routing different subnets
Outlook 2007 very slow to start - up to six minutes