Skip to content

Instantly share code, notes, and snippets.

@jamiecook
Created June 7, 2012 22:58
Show Gist options
  • Save jamiecook/2892206 to your computer and use it in GitHub Desktop.
Save jamiecook/2892206 to your computer and use it in GitHub Desktop.
What happens in the temp directory when you run SL
REM - WHAT'S THE TIME AND WHAT'S MY TEMP DIR
C:\Users\jamie.cook\AppData\Local\Temp>echo %TEMP%
D:\Temp
C:\Users\jamie.cook\AppData\Local\Temp>date /T
08:53 AM Fri 06/08/2012
C:\Users\jamie.cook\AppData\Local\Temp>dir %TEMP%\tgc*.tmp tgc*.tmp
Volume in drive D is New Volume
Volume Serial Number is 0E92-4B73
Directory of D:\Temp
06/08/2012 08:52 AM 0 tgcD140.tmp
06/08/2012 08:52 AM 0 tgcD65F.tmp
2 File(s) 0 bytes
0 Dir(s) 931,509,288,960 bytes free
Volume in drive C has no label.
Volume Serial Number is F455-D8D2
Directory of C:\Users\jamie.cook\AppData\Local\Temp
File Not Found
C:\Users\jamie.cook\AppData\Local\Temp>del %TEMP%\tgc*.tmp tgc*.tmp
Could Not Find C:\Users\jamie.cook\AppData\Local\Temp\tgc*.tmp
REM - THERE ARE NOW NO TGC TEMP FILES AROUND
REM - RUN SL JOB IN OT
C:\Users\jamie.cook\AppData\Local\Temp>date /t
08:53 AM Fri 06/08/2012
REM - CHECK THAT THE STATUS OF TEMP FILES, WHAT DO YOU KNOW WE NOW HAVE TEMP FILES AGAIN!!!
C:\Users\jamie.cook\AppData\Local\Temp>dir %TEMP%\tgc*.tmp tgc*.tmp
Volume in drive D is New Volume
Volume Serial Number is 0E92-4B73
Directory of D:\Temp
06/08/2012 08:54 AM 0 tgc7EDD.tmp
06/08/2012 08:54 AM 0 tgc838F.tmp
2 File(s) 0 bytes
0 Dir(s) 931,509,288,960 bytes free
Volume in drive C has no label.
Volume Serial Number is F455-D8D2
Directory of C:\Users\jamie.cook\AppData\Local\Temp
File Not Found
C:\Users\jamie.cook\AppData\Local\Temp>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment