user1229895
user1229895

Reputation: 2319

TortoiseSVN how do you Disable/Enable TSVNCache.exe via Command Line?

I'm trying to disable (and enable) TSVNCache in a BAT Script, is it possible? or do I need to kill it? Thanks.

Upvotes: 25

Views: 31128

Answers (3)

Bryan Legend
Bryan Legend

Reputation: 6896

In a Windows Explorer Window, right-click on any file, then go to TortioseSVN->Settings->Icon Overlays->Status Cache and set it to None.

tsvncache.exe will immediately exit and not run again.

Upvotes: 41

Craig London
Craig London

Reputation: 674

Write a batch script with this line. You will need to run the batch script with elevated (administrator) permissions

taskkill /f /t /im tsvncache.exe 

To start it from the command line, another batch file

"C:\Program Files\TortoiseSVN\Bin\TSVNCache.exe"

I'd keep the quotes, around the command because of the space between "Program" and "Files".

Upvotes: 2

Leonel Sanches da Silva
Leonel Sanches da Silva

Reputation: 7230

It seems your problem is to reduce Disk I/O. If you really need to use command line for reduce priority, I recommend you use PrcView: http://www.teamcti.com/pview/prcview.htm

If command line use is not mandatory, try to disable cache. In TortoiseSVN Settings, under Icon Overlays, set your Status cache to either Shell or None.

Upvotes: 17

Related Questions