Jump to content

Question About Temp Folder's


Recommended Posts

Hello Guys! I need to Clarify some question's on my mind regarding Temp Folder because I want to keep some files there for a longer time 4 files with 200kb each.

1. My friend told me that it was not safe to store Files on Temp Folder because System has a behavior to delete things there if RAM goes no space?

2. If No, Can I Store files (4 files 200kb) on Temp Folder what are the disadvantage?

Sorry but Google seems no help, all I see was How to Delete Files on Temp Folder.

Link to comment
Share on other sites

The directory C:\Temp and your operating system's paging file are not the same thing.  There are lots of things that will clear that directory, but the OS needing space and removing contents from that particular location is not one i have encountered.

,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-.
|(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/
(_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_)
| | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) (
| | | | |)| | \ / | | | | | |)| | `--. | |) \ | |
`-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_|
'-' '-' (__) (__) (_) (__)

Link to comment
Share on other sites

the %temp% envrionmental variable is usually, on win10 enterprise, pointed at appdata/local/temp (unless you need it dropped into roaming, %appdata% offers no additional use that i can tell)

what is returned when you type "echo %temp%" into a cmd prompt?

and if you are already using locations within your user profile, I would be even more surprised if the OS overwrote those directories whimsically.

Edited by iamtheky

,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-.
|(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/
(_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_)
| | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) (
| | | | |)| | \ / | | | | | |)| | `--. | |) \ | |
`-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_|
'-' '-' (__) (__) (_) (__)

Link to comment
Share on other sites

C:\Docume~1\SERVER\LOCALS~1\Temp , I got this hmm you mean even on %appdata% no luck to have a save storage, Can you suggest me a folder which I can store some files without using path because they all have different setup width Admin Privilege, im using Environ("AppData") or Environ("temp") but like what you said they might be deleted.

Link to comment
Share on other sites

Im saying the opposite.  In my opinion, you can store indefinitely and execute from any of the locations you have mentioned. 

Even the last directory returned was in your local settings, in your Documents and Settings.  If you have had no issues, i would with all confidence predict you will have none there.  Has there been an issue?

 

Edited by iamtheky

,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-.
|(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/
(_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_)
| | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) (
| | | | |)| | \ / | | | | | |)| | `--. | |) \ | |
`-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_|
'-' '-' (__) (__) (_) (__)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...