1.

Solve : Script help?

Answer»

Hi guys,

Wondering if anyone COULD help with a script to delete outlook.ost files from multiple user PROFILES on a PC.
Outlook 2007 RUNNING on Windows XP

I have the following so far:

for /d %%K in ("C:DOCUMENTS and Settings\*") do del "%%~fK\Application Data\Microsoft \Outlook\outlook.ost*")
for /d %%K in  ("C:Documents and Settings\*")  do echo %%K

The .ost file is not getting deleted, could someone point me in the right direction please.
Thanks for reading.Fix that space, maybe?

for /d %%K in ("C:Documents and Settings\*") do del "%%~fK\Application Data\Microsoft \Outlook\outlook.ost*")
                                                                                     ^
                                                                                     |
                                                                                    here
                                                                                     



Discussion

No Comment Found