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

依然范特西╮ 提交于 2019-12-04 16:27:58

问题


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


回答1:


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.




回答2:


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.




回答3:


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".



来源:https://stackoverflow.com/questions/10223340/tortoisesvn-how-do-you-disable-enable-tsvncache-exe-via-command-line

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!