Change server temp folder for index updates

I get the message10/01/2008 18:36:20 Unable to use optimized view rebuild for view ‘viewname’ due to insufficient disk space at C:\WINNT\TEMP\notes0979B1. Need approximately 1563 MB for this view. Using standard rebuild instead.

I’d like to change the temp folder used to a different local drive.

How do I do this?

Subject: change server temp folder for index updates

set config at the console or config doc ini setting

View_Rebuild_Dir=c:\otherlocalfoldername

Of course you may need to move it to another drive that has more disk space. replace c above with your drive letter