on my windows, the temp directory is something like C:\Users\USERNAME\AppData\Local\Temp I have checked https://nim-lang.org/docs/os.html#getTempDir , but which is not the solution as the document says
so what is the reliable way to get temp directory on variable windows machine?
Thanks
well, I use this one till now
getHomeDir() / r"AppData\Local\Temp
import os
echo getTempDir()
Works perfectly fine on Windows.