How to clear the Team Foundation Server 2012 cache on client machines?

You just need to save the following content to a .bat file and execute on the saved .bat file on the client machine.

@echo off
REM **********************************************************
REM Script for clearing Team Explorer 2012 cache
REM **********************************************************

REM **********************************************************
REM Change directory to the Team Foundation Server 2012 client cache
REM **********************************************************
cd “%localappdata%\Microsoft\Team Foundation\4.0\Cache\”
for /d %%a in (*_http) do rmdir /s /q %%a

ECHO “All Done!”

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: