问题
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