Questions tagged [temp]

A common directory on a file system which acts as a "scratch area" that can be used to hold files and directories for short periods of time.

When a file system is executing some process, it is often desirable to record information outside of registers/RAM and save them into memory. However, if these files are not intended to be permanently stored, a temporary "temp" directory may used to facilitate the storage/disposal of these files. For example, you might have a temp directory which stores logging data, which is regularly cleaned by the OS at discrete intervals.

temp may also refer to individual files, e.g. temp_data.csv which would be a temporary data file in the CSV format.

556 questions
-1
votes
1 answer

Why does the process return null if we use the Windows temporary path for Process.Start of a file in C# WPF?

I'm using C# WPF in Windows 10 Enterprise in Administrator user I have a program that receives the file stored in binary form in SQL Server and puts it in a folder in the TEMP path. For example: there is a photo in the database, I select it and…
Mojtabah
  • 46
  • 9
-1
votes
1 answer

Pyinstaller one file package is leaving temp files when crashed, how to clean those automatically?

I am using pyinstaller to create one file executable with command line. Like all "one file" exeutables, it extracts binaries/dependencies in one temporary folder of OS whenever opened. It generally clean those after closing the application properly…
Akascape
  • 219
  • 2
  • 11
-1
votes
1 answer

How to use temporary file from form upload - Python Django

I have a form where users can upload up to 1,000 images at a time. I have changed my FILE_UPLOAD_MAX_MEMORY_SIZE in Django settings to 0 so all files uploaded via a form are written to a temp directory in my root folder. I am then trying to process…
pycode81
  • 124
  • 1
  • 9
-1
votes
1 answer

Temp conversion: TypeError: unsupported operand type(s) for -: 'list' and 'int'

Want it to be able to convert both ways, if Celsius then it converts to Fahrenheit and vice versa. I'm fresh outta the box when it comes to Python, and this is part of one of my classes. Using higher order functions and learning how to implement…
Chris H
  • 1
  • 1
-1
votes
1 answer

Update the value of temp variable everytime after the function is called

The below code is written inside a function in react Model class(MVC Architecture). Every time the function is called the temp variable value is set to 1 but I want the value of the updated temp variable to be assigned to the 1st line. Please help …
-1
votes
2 answers

How to delete folder with python?

I want to delete a folder inside the Windows drive 'C' but i get PermissionError I used the 'os' module as usual but I do not know exactly how to solve the access problem Code: import os os.remove("C:\\Users\name\AppData\Local\Temp") Error: line 2,…
-1
votes
1 answer

DB2 Insert Into Temp Table in the middle of a script

If I have several temp tables, and I want to insert data into one of them but then continue to create more temp tables is there a way to do that or do I need to break my query up. This is an example of what I'd like to do WITH A AS (SELECT Column1,…
AdamTheD
  • 19
  • 5
-1
votes
3 answers

Prints the temp closest to 0 among input data - Coding Game

I am new at coding and I don't understand why my code doesn't work for the last test of this Coding Game problem : https://www.codingame.com/ide/puzzle/temperatures Language : Javascript Last test is : Display 0 (zero) if no temperatures are…
Hydrocoder
  • 1
  • 1
  • 2
-1
votes
1 answer

SELECT Queries with Union and order into a new temp table is not working

I have writing a T-SQL query to collect some data from many tables and splitting the rows into three with select union queries. There are errors while executing the queries. I have attached the queries, please guide me to rectify the errors. SELECT…
-1
votes
1 answer

Please explain temp table in sql?

Can anyone explain this to me ? IF OBJECT_ID('tempdb..#RH') IS NOT NULL DROP TABLE #RH IF OBJECT_ID('tempdb..#TERM') IS NOT NULL DROP TABLE #TERM IF OBJECT_ID('tempdb..#CLRIS') IS NOT NULL DROP TABLE #CLAERIS What does this code mean…
Xaaz
  • 3
  • 3
-1
votes
1 answer

Error when populating temp table with query results

Why does this query run alone ok but I get an error when I try to put the results in a temp table Works SELECT DISTINCT ENCOUNTER_ID = OP.PAT_ENC_CSN_ID ,NOTE_TYPE = OP.PROC_CODE ,CREATE_TIME =…
JHSQL
  • 11
  • 3
-1
votes
1 answer

java.nio.file.AccessDeniedException to ~/AppData\Local\Temp\unlink-test12695598880278433589.tmp file bt-cli api

Want to download torrents via bt-cli. I tryed to launch bt-cli as module of bt parent and launch bt-cli-demo as project, but I aslways get java.nio.file.AccessDeniedException to temp files. I tryed through Intellij Idea and through shell, all time…
Andrei Glushko
  • 21
  • 1
  • 1
  • 4
-1
votes
1 answer

How to delete temp files created in %temp% folder using vbscript

I am trying to delete the temporary files created in C:\Users\xxxxxx\AppData\Local\Temp using vbscript.
santosh
  • 89
  • 4
  • 11
-1
votes
1 answer

Accessing coldfusion temp files through browser

If I use coldfusion's getTempDirectory() as the path to generate a file, is there any way for a browser to access that? Or, if not, can I configure the temp path to be a certain folder?
Patrick Schomburg
  • 2,494
  • 1
  • 18
  • 46
-1
votes
2 answers

How to Swap rows?

I am given int[][] Science, int rowOne and int rowTwo. How can I swap rowOne and rowTwo? I know that I am supposed to hold one row in temp variable, but I do not understand how it works. How does temp work?
JavaB
  • 95
  • 1
  • 9