how to make temp extraction directory for Winrar stick to same drive that .rar is residing in?

i'm using the latest version of winrar (regged version).

problem is, the settings only allow me to set the temp path to a certain drive (e.g. C:). i want it to be dynamic (i.e. if the .rar resides in D:\ , then let the temp path be in D:).

reason is because if the temp path is in a fixed directory, time is wasted transferring the file, say from temp C:\Temp to D: (where the rar resides).

anyone knows how?


Solution 1:

If you drag and drop from WinRar to Explorer it will use a temp directory on your main drive. You need to actually press the "Extract" button on WinRar. The same is true for 7zip.

To understand why this is the case, here is an excerpt from 7zip faq:

Why does drag-and-drop archive extraction from 7-Zip to Explorer use temp files? 7-Zip doesn't know folder path of drop target. Only Windows Explorer knows exact drop target. And Windows Explorer needs files (drag source) as decompressed files on disk. So 7-Zip extracts files from archive to temp folder and then 7-Zip notifies Windows Explorer about paths of these temp files. Then Windows Explorer copies these files to drop target folder.

To avoid temp file usage, you can use Extract command of 7-Zip or drag-and-drop from 7-Zip to 7-Zip.

Solution 2:

From the Windows Explorer locate the compressed file and Just right click on it then select "Extract here!". Winrar won't use any temp directory just the existing one! (Don't use double click to open up the compressed file)