LDC File Search & Include Folder Wildcard Help

Asked by Jerry Collins

I want to setup some the following cleanup options and was wondering how to use wildcards to do so in LDC.

%SYSTEMDRIVE%\Documents and Settings\*\Application Data\Sun\Java\Deployment\cache\*\|*.*|REMOVESELF
%SYSTEMDRIVE%\Documents and Settings\*\Application Data\Sun\Java\Deployment\Systemcache\|*.*|RECURSE
%SYSTEMDRIVE%\Documents and Settings\*\Application Data\Sun\Java\Deployment\tmp\|*.*|RECURSE
%SYSTEMDRIVE%\Documents and Settings\*\NetHood\|*.*
%SYSTEMDRIVE%\Documents and Settings\*\PrintHood\|*.*
%SYSTEMDRIVE%\System Volume Information\|*.*|RECURSE
%SYSTEMDRIVE%\Users\*\AppData\LocalLow\Sun\Java\Deployment\cache\*\|*.*|REMOVESELF
%SYSTEMDRIVE%\Users\*\AppData\LocalLow\Sun\Java\Deployment\Systemcache\|*.*|RECURSE
%SYSTEMDRIVE%\Users\*\AppData\LocalLow\Sun\Java\Deployment\tmp\|*.*|RECURSE
%SYSTEMDRIVE%\Users\*\NetHood\|*.*
%SYSTEMDRIVE%\Users\*\PrintHood\|*.*
%WINDIR%\System32\CCM\Cache\|*.*|RECURSE
%WINDIR%\System32\CCM\Temp\|*.*|RECURSE
%WINDIR%\System32\spool\PRINTERS\|*.*|RECURSE
%WINDIR%\SysWOW64\CCM\Cache\|*.*|RECURSE
%WINDIR%\SysWOW64\CCM\Temp\|*.*|RECURSE

Feel free to send me the "file search syntax" if you're using an existing model.

Question information

Language:
English Edit question
Status:
Answered
For:
Little Disk Cleaner Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Nick (ub3rst4r) said :
#1

Hi Jerry,

I am not sure if you have any knowledge of XML or not, so I am going to propose to answers for you..

If you DONT have knowledge of XML:
1) Open up Little Disk Cleaner
2) Go to options -> included folders
3) For each one of these go to Add..., paste the directory and click OK...
C:\Documents and Settings\*\Application Data\Sun\Java\Deployment\cache\*\
C:\Documents and Settings\*\Application Data\Sun\Java\Deployment\Systemcache\*
C:\Documents and Settings\*\Application Data\Sun\Java\Deployment\tmp\*
C:\Documents and Settings\*\NetHood\*
C:\Documents and Settings\*\PrintHood\*
C:\System Volume Information\*
C:\Users\*\AppData\LocalLow\Sun\Java\Deployment\cache\*\*
C:\Users\*\AppData\LocalLow\Sun\Java\Deployment\Systemcache\*
C:\Users\*\AppData\LocalLow\Sun\Java\Deployment\tmp\*
C:\Users\*\NetHood\*
C:\Users\*\PrintHood\*
C:\Win*\System32\CCM\Cache\*
C:\Win*\System32\CCM\Temp\*
C:\Win*\System32\spool\PRINTERS\*
C:\Win*\SysWOW64\CCM\Cache\*
C:\Win*\SysWOW64\CCM\Temp\*
4) Click OK in the options window

If you HAVE knowledge of XML:
1) Go to C:\Users\[YourUsername]\AppData\Local\Little_Apps and delete all folders that contain "Little_Disk_Cleaner"
2) Open up notepad and click File -> Open
2) Go to the folder where LDC is installed (should be C:\Program Files (x86)\Little Disk Cleaner) and click on "Little Disk Cleaner.exe.config"
3) Add these lines into the XML:

            <setting name="includedFolders" serializeAs="Xml">
                <value>
                    <ArrayOfString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                        xmlns:xsd="http://www.w3.org/2001/XMLSchema">
                        <string>C:\Documents and Settings\*\Application Data\Sun\Java\Deployment\cache\*\</string>
                        <string>C:\Documents and Settings\*\Application Data\Sun\Java\Deployment\Systemcache\*</string>
                        <string>C:\Documents and Settings\*\Application Data\Sun\Java\Deployment\tmp\*</string>
                        <string>C:\Documents and Settings\*\NetHood\*</string>
                        <string>C:\Documents and Settings\*\PrintHood\*</string>
                        <string>C:\System Volume Information\*</string>
                        <string>C:\Users\*\AppData\LocalLow\Sun\Java\Deployment\cache\*\*</string>
                        <string>C:\Users\*\AppData\LocalLow\Sun\Java\Deployment\Systemcache\*</string>
                        <string>C:\Users\*\AppData\LocalLow\Sun\Java\Deployment\tmp\*</string>
                        <string>C:\Users\*\NetHood\*</string>
                        <string>C:\Users\*\PrintHood\*</string>
                        <string>C:\Win*\System32\CCM\Cache\*</string>
                        <string>C:\Win*\System32\CCM\Temp\*</string>
                        <string>C:\Win*\System32\spool\PRINTERS\*</string>
                        <string>C:\Win*\SysWOW64\CCM\Cache\*</string>
                        <string>C:\Win*\SysWOW64\CCM\Temp\*</string>
                    </ArrayOfString>
                </value>
            </setting>

Please let me know if your having problems!

- Nick

Can you help with this problem?

Provide an answer of your own, or ask Jerry Collins for more information if necessary.

To post a message you must log in.