Top "Temporary-directory" questions

This tag is used for questions about the creation and handling of temporary directories under any language.

How to create a temporary directory/folder in Java?

Is there a standard and reliable way of creating a temporary directory inside a Java application? There's an entry in …

java file file-io directory temporary-directory
How to get temporary folder for current user

Currently I am using following function to get the temporary folder path for current user: string tempPath = System.IO.Path.…

c# .net temporary-directory
How to create a temporary directory?

I use to create a tempfile, delete it and recreate it as a directory: temp=`tempfile` rm -f $temp # <…

bash temporary-directory
Cross-platform way of getting temp directory in Python

Is there a cross-platform way of getting the path to the temp directory in Python 2.6? For example, under Linux that …

python cross-platform temporary-directory
Creating a temporary directory in Windows?

What's the best way to get a temp directory name in Windows? I see that I can use GetTempPath and …

c# .net windows temporary-directory
iOS temporary folder location

My app has just been rejected by Apple because it was storing temporary or cache files in the documents directory. …

ios objective-c swift macos temporary-directory
Create a temporary directory in PowerShell?

PowerShell 5 introduces the New-TemporaryFile cmdlet, which is handy. How can I do the same thing but instead of a file …

powershell temporary-directory
Right way to clean up a temporary folder in Python class

I am creating a class in which I want to generate a temporary workspace of folders that will persist for …

python destructor temporary-directory
How to create a temporary directory in C++?

I'm writing a function in C++ which creates a temporary directory. Such function should be as most portable as possible, …

c++ linux winapi temporary-directory