How do you change the wireshark default location of Windows/Temp to another folder (or drive for that matter)? The wireshark machine has a small harddrive and it is desired to capture the file to a network or USB drive with a much larger capacity. asked 20 Aug '15, 08:48 guydub |
One Answer:
Take a look at this blog post: answered 20 Aug '15, 14:16 Jasper ♦♦ |
It might be nice for the Wireshark man page to mention the Windows
TEMP
environment variable like it does the *nixTMPDIR
environment variable. Speaking ofTMPDIR
though, it appears that this isn't always the correct environment variable which defines the temporary file directory. On my RHEL6 system, for example, the relevant environment variable isTMP
, notTMPDIR
, despite whatg_get_tmp_dir()
claims, which is whatdumpcap
calls viacreate_tempfile()
to find the temporary file directory. RHEL6 is installed with glib2-2.26.1-3.el6.x86_64 and examining glib2.26.1 sources seems to indicate thatTMPDIR
should work, but it doesn't.