jeremypaule
04-11-2007, 04:50 AM
is there a way to disable files being saved to temp so I don't have to delete them every other day.
|
View Full Version : VISTA %temp% question jeremypaule 04-11-2007, 04:50 AM is there a way to disable files being saved to temp so I don't have to delete them every other day. Minkey 04-11-2007, 11:24 AM is there a way to disable files being saved to temp so I don't have to delete them every other day. That's Windows for you ;) - do you mean from IE or your other web browser if so you can do it through the option to delete temp items when you close them. If you mean system/app temp files that will always happen and you don't have an option in Windows to disable that. One thing you can do is write a batch file to delete them and then put it in your startup folder (or run it as a scheduled task) though be aware that some temp files will be in use and therfore can not be deleted. This should work: cd C:\foldername echo y | del *.* Paste into notepad and save as filename.bat If your folder name is in a sub folder - C:\foldername\subfolder jeremypaule 04-11-2007, 11:59 AM I use Mozilla and the 'Clear Browser data' doesn't delete the %temp% files for some odd reason(even though the option is checked in which things are deleted). I was thinking of making a batch file to do it, I'll probably do that. jeremypaule 04-11-2007, 12:43 PM Am I doing something wrong? I have the following saved in a notepad named deltemp.bat and the file just deletes itself when run cd C:\Users\Jeremy\AppData\Local\Temp echo y | del *.* Minkey 04-11-2007, 01:17 PM Odd - I've got a dual boot system with XP and Vista (from XP) and just tried it to the same folder on Vista and managed to delete a load of desktop icons from XP's desktop :eek: even though they are on a different partition which is VERY odd :confused: I'll need to look into this - maybe it's something to do with Vista and dos commands, so a disclaimer - don't use this if your using Vista :p (It's gonna take me a while to restore my desktop now!! - especially as this method bypasses the recycle bin). So don't use for now apologies I should have tried it out in Vista first - I'll post back hopefully with a solution (hopefully) PS It does work in XP standalone jeremypaule 04-11-2007, 01:26 PM lol thanks, sorry about that. please let me know if you figure it out!! FoFa 04-13-2007, 11:24 AM I don't think cd C:\Users\Jeremy\AppData\Local\Temp will work I think you have to: C: cd \Users\Jeremy\AppData\Local\Temp I don't think you can combine the drive and the path in one. jeremypaule 04-14-2007, 04:34 AM I don't think cd C:\Users\Jeremy\AppData\Local\Temp will work I think you have to: C: cd \Users\Jeremy\AppData\Local\Temp I don't think you can combine the drive and the path in one. Thanks for the help, but that didn't work either. kidrobot 04-16-2007, 06:37 AM wow I never knew that so many files are saved to this folder... Minkey 04-16-2007, 07:12 AM I don't think cd C:\Users\Jeremy\AppData\Local\Temp will work I think you have to: C: cd \Users\Jeremy\AppData\Local\Temp I don't think you can combine the drive and the path in one. You can use it that way the exact syntax for the command is as follows: CHDIR [drive:][path] CHDIR[..] CD [drive:][path] CD[..] Unfortunatly I haven't been able to try this out on Vista yet but hang in I'll get it in the end (hopefully :p ) wow I never knew that so many files are saved to this folder... That's why I reinstall Windows on a regular basis - the amount of junk Windows (and to be fair other apps) fills your PC up with is incredible. kidrobot 04-16-2007, 10:33 AM Please let me know when you figure this out!! I'd like to reformat on a regular basis but I have so much saved onto my hard drive, I need to partition it or buy an external to get my files in order. kidrobot 04-26-2007, 06:55 AM No one knows how to do this? |