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

Many temporary files from mktemp left after building with cygwin & make

I'm doing sw development in an environment based on Cygwin. Using standard make etc that ships with Cygwin running on Windows 7. A few days ago I discovered that I had ~ 650 000 temporary files of size 0. The name of these files matched the standard…
user2052153
  • 129
  • 10
-1
votes
2 answers

Store a file temporarily in side temp folder of tomcat

Can you please tell me any Java code that I can use to store a file inside Tomcat's temp folder so that once it is used (downloaded) it will be deleted automatically?
-1
votes
1 answer

Selecting multiple rows into a single row temp table

What I am trying to do is select multiple rows into a single row of a temp table. There should be 1 row in the temp table listing all of the different accrual values. Here is the code below: declare @RunDate varchar(7) set @RunDate =…
Jeff
  • 427
  • 1
  • 14
  • 31
-1
votes
1 answer

update query on temporary table issue - mysql

update query does not update the values into temporary table in mysql. DECLARE _defaultDateTime DATETIME; DECLARE _resourceTypeId CHAR(36); DECLARE _billedUsageHrs DECIMAL(15,6); DECLARE _unbilledusageHrs DECIMAL(15,6); DECLARE _billedCost…
Prem
  • 5,685
  • 15
  • 52
  • 95
-1
votes
1 answer

The permissions of "Temp" folder in Windows 7 64-bit keep changing

I have just bought a new Laptop with Win7 64bit. Recently I encountered some errors, which included not being able to save some files, Windows Installer errors and file extracting probs. I found out that they all were related to my %Temp% folder's…
-2
votes
1 answer

Removed '/bin/tempfile', now problems with X

I just undeliberately deleted my bin/tempfile, please don't ask why. I experienced no issues, however, after a reboot, I wasn't able to login anymore. When I entered my password and pressed ENTER, I got a black screen, and 2 seconds later the login…
Stefan Wobbe
  • 155
  • 1
  • 8
-2
votes
1 answer

how do I delete all the un-needed temp files in the %temp% folder with batch?

Im trying to make a program that deletes the un-needed temp files with batch. How would I do this in one command? Is it possible?
-2
votes
1 answer

better place for sensitive temp file, ram disk or hdd or ssd?

my app saves a 1MB file and then another app reads it back. After that I want to sercure delete it. I thought about a ram drive because I know that even with a secure delete appl. something would remain on HDD or SSD. I can accept to lose the…
-2
votes
1 answer

Reading and Writing Temp Files in PHP and MySQL

I'm using a temporary text file to submit html web form data to a database. Basically the process is: Submit form data ==> Write form data to temp.txt ==> submit temp.txt data to database. I know how to write data to text file and how to read data…
Nikky W
  • 3
  • 1
  • 4
-2
votes
1 answer

How do I make a unique temporary file to be made for each visitor and store other file pathnames

Basically I am aware that you can make temporary file (lets call it file2) with the tempnam function in PHP. However, i was wondering how they could automatically be deleted when the user leaves the site. Or even better have that temp file be stored…
Roy
  • 3,027
  • 4
  • 29
  • 43
-3
votes
2 answers

Can not delete a temp table on sql server after With Statement

I create a temp table. Then I run a With statement. I put the results in a temp table and then, after I use the data, I can not delete it because this error shows up: "There is already an object named '#ArmadoPlantilla' in the database." What am I…
Max
  • 199
  • 1
  • 3
  • 11
-3
votes
1 answer

Java command line action on server

I tried to open outlook on user pc but because the app in the windows server its run the cmd on the server and not in user pc. this is the code: ProcessBuilder pb = new ProcessBuilder(); pb.command("cmd.exe", "/C", "start", "outlook.exe", …
kfir
  • 732
  • 10
  • 22
-3
votes
2 answers

How do I start manipulating the data that is entered? I just can't find out where to start

So I'm making a program for a Java class, and need to find the mean, mode, max, min, and median of a set of temperatures that I enter. Here's what I have so far: import javax.swing.*; public class Temps { private int temp[] = new int[5]; …
-3
votes
1 answer

How do I sort the numbers inputted from an array to tell how many times the number was entered

Ok so this is my code. I'm supposed to gather 10 numbers of input and then sort them in descending order by the number of which they appear. Ex. {0,0,1,2,2,2] My output would be "Mode=2 and then have 2 appears 3 times, 0 appears two times, 1…
user3543981
  • 1
  • 1
  • 5
-4
votes
1 answer

Python Looping for Store Data

I want to ask about looping. This my Code I'm using Python. Please Help me to get the looping. temp = 0 # temperature valve = 0 #control temperature while True : if temp = 30 valve =+ 20 print "temp now 30 and valve 20" elif temp = 40 …
1 2 3
37
38