The GoTo Community is currently experiencing some technical issues affecting new posts and comments. We are actively working with our service provider and apologize for the frustration.
Forum Discussion
KevinA
16 years agoRetired GoTo Contributor
One2Many Script Repository
Welcome to the LogMeIn Central Script Repository!
What is it? A library of scripts to help you execute automated tasks and manage LogMeIn Pro² computers without having to access them manually. ...
- 8 years ago
https://github.com/knix15/LogMeIn-One2Many-Community-Scripts/
Scripts can be found here as well for better future organization.
mattyb
15 years agoActive Contributor
Here is a small script I use to clear out the junk files (temp, internet etc) off all local profiles.
IF "%OS%"=="" GOTO WIN9X
@REM - FIND "DOCUMENTS AND SETTINGS" FOLDER:
%SYSTEMDRIVE%
CD %USERPROFILE%\..
FOR /D %%F IN (*.*) DO DEL /F/S/Q "%%F\LOCAL SETTINGS\TEMP\*.*"
FOR /D %%F IN (*.*) DO DEL /F/S/Q "%%F\LOCAL SETTINGS\TEMPORARY INTERNET FILES\*.*"
FOR /D %%F IN (*.*) DO DEL /F/S/Q "%%F\COOKIES\*.*"
DEL /F/S/Q %WINDIR%\TEMP\*.*
DEL /F/S/Q %WINDIR%\*.TMP
GOTO END
:WIN9X
REM - WIN9X systems are currently not supported.
:END
Takes a while when first run, but daily it's fantastic.
stevekent
15 years agoNew Contributor
Is it unusual that this script 'fails' every time it is run. Most stuff is deleted but there are things that either cannot be found or are in use by another process. I have yet to get a "successful" finish.
- stevekent15 years agoNew Contributor
This is the script I was talking about.
Here is a small script I use to clear out the junk files (temp, internet etc) off all local profiles.
IF "%OS%"=="" GOTO WIN9X@REM - FIND "DOCUMENTS AND SETTINGS" FOLDER:%SYSTEMDRIVE%CD %USERPROFILE%\..FOR /D %%F IN (*.*) DO DEL /F/S/Q "%%F\LOCAL SETTINGS\TEMP\*.*"FOR /D %%F IN (*.*) DO DEL /F/S/Q "%%F\LOCAL SETTINGS\TEMPORARY INTERNET FILES\*.*"FOR /D %%F IN (*.*) DO DEL /F/S/Q "%%F\COOKIES\*.*"DEL /F/S/Q %WINDIR%\TEMP\*.*DEL /F/S/Q %WINDIR%\*.TMPGOTO END:WIN9XREM - WIN9X systems are currently not supported.:ENDTakes a while when first run, but daily it's fantastic.