Ilounah Posted June 29, 2018 Share Posted June 29, 2018 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 More sharing options...
iamtheky Posted June 29, 2018 Share Posted June 29, 2018 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. Ilounah 1 ,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-. |(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/ (_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_) | | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) ( | | | | |)| | \ / | | | | | |)| | `--. | |) \ | | `-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_| '-' '-' (__) (__) (_) (__) Link to comment Share on other sites More sharing options...
Ilounah Posted June 29, 2018 Author Share Posted June 29, 2018 Thanks @iamtheky , In short I can't store files longer here %TEMP%, moving my files to %AppData% Link to comment Share on other sites More sharing options...
iamtheky Posted June 29, 2018 Share Posted June 29, 2018 (edited) 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 June 29, 2018 by iamtheky ,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-. |(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/ (_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_) | | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) ( | | | | |)| | \ / | | | | | |)| | `--. | |) \ | | `-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_| '-' '-' (__) (__) (_) (__) Link to comment Share on other sites More sharing options...
Ilounah Posted June 29, 2018 Author Share Posted June 29, 2018 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 More sharing options...
iamtheky Posted June 30, 2018 Share Posted June 30, 2018 (edited) 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 June 30, 2018 by iamtheky Ilounah 1 ,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-. |(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/ (_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_) | | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) ( | | | | |)| | \ / | | | | | |)| | `--. | |) \ | | `-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_| '-' '-' (__) (__) (_) (__) Link to comment Share on other sites More sharing options...
Ilounah Posted June 30, 2018 Author Share Posted June 30, 2018 No, issues. Just my friend bothered me regarding storing my user's data value on excel on %Temp% and call it if the user needs the data value. Thanks for info regarding Temp and Appdata @iamtheky Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now