Automatically Deleting Project Professional 2007 Cache

  • Thread starter Sebastián Armas
  • Start date
S

Sebastián Armas

Hello:

Is there a way to automatically deleting Project Professional 2007 Cache
(both protected and unprotected projects) on the app startup?

I've tried to create a macro, but the CleanupCache VBA command hasn't got
further options.

Thanks in advance for your kind reply,
 
G

Gaurav Wason

It is not possible using vba. One of my client they wrote a batch file that
they manully delete the cache folder. Doing so you also risk of loosing the
information of checkedout files that are still waiting to be checked-in.
--
Please rate this post if it has helped

Thanks
Gaurav Wason
(e-mail address removed), PMP, MCITP roject Made Easy (Project Server Archive Tool)
and (Project Owner Tool)
http://projectmadeeasy.com
 
S

Sebastián Armas

Gaurav:

Thanks for your kind reply. Indeed, the only time I'd like to do this is at
the app first startup on any given day; otherwise you'd indeed loose some
data.

Is there anyway to get a copy that batch file?

Thanks in advance,
 
G

Gary L. Chefetz

Sebastián:

This is a simple batch file of DOS commands. You can tie it to a shortcut on
the desktop. For Windows Vista it would like:

cd appdata\roaming\microsoft\ms project
del *.*

You could then have the same bat file call WinProj.exe by changing to the
application path before you make the winproj call.

--
----------
Gary L. Chefetz, MVP
MSProjectExperts
Project Server Consulting: http://www.msprojectexperts.com
Project Server Training: http://www.projectservertraining.com
Project Server FAQS: http://www.projectserverexperts.com
Project Server Help Blog: http://www.projectserverhelp.com
 
S

Sebastián Armas

Gary:

Excellent! I'll implement your suggestion.

Very gratefully yours,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top