Add your comments
DLS Archives
May 2012
| Sun | Mon | Tue | Wed | Thu | Fri | Sat |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | ||
| 6 | 7 | 8 | 9 | 10 | 11 | 12 |
| 13 | 14 | 15 | 16 | 17 | 18 | 19 |
| 20 | 21 | 22 | 23 | 24 | 25 | 26 |
| 27 | 28 | 29 | 30 | 31 | ||
Essential Windows Apps | Do Not Track | Microsoft Office | SayNow | LibreOffice | Zeam Android Launcher | Dead Space iPhone | Firefox 4 Mobile | Firefox 4 Release | PlayStation iPhone App | Excel Tips | Android Launcher | Google One Pass | Dead Space | Google Cloud Print | Songbird for Android | NBA Jam | Internet Explorer 9 | Windows 7 Connector for Mac | Office Mac 2011 | IE9 RC






Reader Comments (Page 1 of 1)
(Unverified)Dec 9th 2008 8:11AM
You know what else works, and is free? Batch files called as scheduled tasks on startup.
This one renames your existing temp, in case you're a packrat and need to save some files that shouldn't be there, but are. Because you renamed it, you can delete it when done (no pointers during your new session).
@echo off
FOR /F "TOKENS=2-4 DELIMS=- " %%F IN ('DATE /T') DO (
SET YYYY=%%F
SET MM=%%G
SET DD=%%H
)
REM debug statements
REM echo %YYYY%
REM echo %MM%%
REM echo %DD%
FOR /F "TOKENS=1-2 DELIMS=: " %%F IN ('TIME /t') DO (
SET HR=%%F
SET MN=%%G
)
set fullstamp=%YYYY%_%MM%_%DD%_%HR%%MN%
REM debug statement
REM echo %fullstamp%
set newtemp=temp_%fullstamp%
REM this is the volume for tempfiles, pagefiles
f:
cd\
rename temp %newtemp%
mkdir temp
You can easily rewrite it to this:
@echo off
f:
cd\
rmdir /s /q temp
mkdir temp
The solution extends to any subdirs you can find. Graphical, no. Fast, yes.