Overview › Forums › Discussions › How to make Anytxt create temp files in other directories?
Tagged: anytxt issue
- This topic has 5 replies, 2 voices, and was last updated 9 months, 2 weeks ago by Abbie.
-
AuthorPosts
-
worldguyGuest
I’ve found that when Anytxt creates indexes, it generates a lot of temporary files in c:\Windows\temp which take up a significant amount of space. I’ve already changed the %TEMP% and %TMP% environment variables to f:\temp, but the Anytxt service still creates temporary index files (.dbl) in c:\windows\temp. How can I get Anytxt to create temporary index files (.dbl) in the %TEMP% directory?
adminKeymasterThank you for your feedback, we will try to fix it.
Thank youJimmy LinGuestHi, I have tried 2023-12-30 Version 1.3.1260.
The Change log says: Fix the issue that it will take some space on the system disk when indexing
I already set environment variables User variable and System variable to e:\temp and confirm other software create temporary files there.
But I found Anytxt still use C:\Windows\TEMP folder even when I didn’t update index.
Once Anytxt start, it creates temporary index files (.dbi, .dbl) in c:\windows\temp, no matter the index is updating or not.
My system drive is small but DB is large, it will eats all system drive space.
So I need Anytxt to create temporary index files (.dbi, .dbl) on non-system drive.
Thank you.AndekarateGuestWhile Anytxt doesn’t currently have a built-in setting to directly change the temp file directory, here are a couple of workarounds you can explore:
1. Modifying the TEMP Environment Variable:
Windows:
- Right-click on “This PC” or “My Computer” and select “Properties.”
Click on “Advanced system settings.”
Under the “Advanced” tab, click on “Environment Variables.”
Under “System variables,” find the “TEMP” variable and click “Edit.”
Enter the desired path for temporary files (e.g., E:\Temp).
Click “OK” on all open windows.
macOS:
Open the Terminal app.
Type export TMPDIR=/path/to/new/temp/directory (replace with your desired path).
Press Enter.
2. Symbolic Links (Windows):Close Anytxt.
Move the existing TEMP folder to your desired location.
Open an elevated Command Prompt (Run as Administrator).
Type mklink /D C:\Windows\TEMP E:\Temp (replace paths as needed).
Important Considerations:Compatibility: These methods may not work with all versions of Anytxt. It’s essential to check for compatibility with your specific version.
Functionality: Modifying system variables or using symbolic links could potentially affect other programs that rely on the default temp directory. Use caution and test thoroughly.
Updates: After any Anytxt updates, recheck if these workarounds are still functioning as intended.
For the most accurate and up-to-date information, it’s always best to consult the Anytxt forums or reach out to their support team directly. They might have more specific guidance or potential solutions based on your version and operating system.Jimmy LinGuestThank you Andekarate!
I successfully moved the temporary file to E drive using the mklink command.AbbieModeratorHello, Jimmy Lin.
This is a Anytxt issue, we will try to fix it the future, please notice to our newly versions.
Thanks for your feedback. - Right-click on “This PC” or “My Computer” and select “Properties.”
-
AuthorPosts