Super Fast Posted July 16, 2011 Share Posted July 16, 2011 I like CCleaner's ability to run & delete a custom path, such as: C:/Program Files/CCleaner/Lang etc, but what happens if a user is on for example: F:/Program Files/CCleaner/Lang etc? ____________________________________ How to clean? CCleaner only allows a hard path to the file/object. I'd love to see the option to include something most users are familiar with, such as: %ProgramFiles%/CCleaner/Lang Even better, offer the user the "Relative Path" or the hard linked path as a choice (CCleaner detects the path & offers the relative also to the user as an option) ____________________________________ At any rate, I want to see relative path support in CCleaner. It will make things so much easier, per above example why... Link to comment Share on other sites More sharing options...
Moderators Nergal Posted July 17, 2011 Moderators Share Posted July 17, 2011 super-fast you're around enough to know, but you should search the forum before making suggestions. It's a often suggested feature (including by @Winapp2.ini ) for custom folders to support environmental variables. ADVICE FOR USING CCleaner'S REGISTRY INTEGRITY SECTION DON'T JUST CLEAN EVERYTHING THAT'S CHECKED OFF. Do your Registry Cleaning in small bits (at the very least Check-mark by Check-mark) ALWAYS BACKUP THE ENTRY, YOU NEVER KNOW WHAT YOU'LL BREAK IF YOU DON'T. Support at https://support.ccleaner.com/s/?language=en_US Pro users file a PRIORITY SUPPORT via email support@ccleaner.com Link to comment Share on other sites More sharing options...
Moderators Andavari Posted July 17, 2011 Moderators Share Posted July 17, 2011 but what happens if a user is on for example: F:/Program Files/CCleaner/Lang etc? Either make a batch file to do the deletion, or manually delete it. Whenever I install a new program I always zap extra lang files I'll never need. Link to comment Share on other sites More sharing options...
Winapp2.ini Posted July 17, 2011 Share Posted July 17, 2011 I've been dying for this feature. It'd pretty much solve the "unable to create cleaning entries for program XYZ because it has user specific folders" problem! winapp2.ini additions thread winapp2.ini github Link to comment Share on other sites More sharing options...
Super Fast Posted July 17, 2011 Author Share Posted July 17, 2011 Yes, I have been dying for it too. Environment variable support/relative paths would be a lot more reliable than hardcoded paths that can be quite flaky at times... + 3 from me! Ok, maybe that was a lot of +, but I really want it! LOL! Link to comment Share on other sites More sharing options...
Moderators Nergal Posted July 17, 2011 Moderators Share Posted July 17, 2011 Yes, I have been dying for it too. Environment variable support/relative paths would be a lot more reliable than hardcoded paths that can be quite flaky at times... + 3 from me! Ok, maybe that was a lot of +, but I really want it! LOL! it's kinda bad form to plus yer own thread matey. Just sayin. ADVICE FOR USING CCleaner'S REGISTRY INTEGRITY SECTION DON'T JUST CLEAN EVERYTHING THAT'S CHECKED OFF. Do your Registry Cleaning in small bits (at the very least Check-mark by Check-mark) ALWAYS BACKUP THE ENTRY, YOU NEVER KNOW WHAT YOU'LL BREAK IF YOU DON'T. Support at https://support.ccleaner.com/s/?language=en_US Pro users file a PRIORITY SUPPORT via email support@ccleaner.com Link to comment Share on other sites More sharing options...
Super Fast Posted July 17, 2011 Author Share Posted July 17, 2011 it's kinda bad form to plus yer own thread matey. Just sayin. Sorry, man. I get excited sometimes. I wanted it for years... Heh heh! Well, guess a guy can dream, anyway. Maybe one day. Who knows? Link to comment Share on other sites More sharing options...
Alan_B Posted July 18, 2011 Share Posted July 18, 2011 I like CCleaner's ability to run & delete a custom path, such as: C:/Program Files/CCleaner/Lang etc, but what happens if a user is on for example: F:/Program Files/CCleaner/Lang etc? Batch script may be a possible solution SET ProgramFiles=F:/Program Files CCLEANER.EXE Then any reference in WinApp2.ini or a CCleaner.ini INCLUDE might hit the alternative target. This substitute value only affects that which is launched by this instance of CMD.EXE. N.B. Try first on Portable version of CCleaner, I view with suspicion anything that is controlled by the registry ! ! Link to comment Share on other sites More sharing options...
Super Fast Posted July 22, 2011 Author Share Posted July 22, 2011 Batch script may be a possible solution SET ProgramFiles=F:/Program Files CCLEANER.EXE Only problem I see with that, is it would be easier to just use includes. Environment variables could take care of this with ease, but hardcoded paths break. What I mean is, if you set it for F, then if you had another one that the Program Files directory is say, E:, & another G:, then you still have to manually "update" whether the includes, or the batch script. Link to comment Share on other sites More sharing options...
Alan_B Posted July 22, 2011 Share Posted July 22, 2011 What I mean is, if you set it for F, then if you had another one that the Program Files directory is say, E:, & another G:, then you still have to manually "update" whether the includes, or the batch script. Manual update is not needed. Just a single revision to the BAT script then no more manual updates, e.g. SET ProgramFiles=E:/Program Files START /WAIT CCLEANER.EXE SET ProgramFiles=F:/Program Files START /WAIT CCLEANER.EXE SET ProgramFiles=G:/Program Files START /WAIT CCLEANER.EXE SET ProgramFiles=H:/Program Files START /WAIT CCLEANER.EXE I hated Xmarks for the tremendous wastage of some many folders and files dedicated to foreign languages. It wasted more space and directory/MFT entries than all the rest of my FireFox Extensions. Now I do not get mad, I get even. I doubt Winapp2.ini could match my code below :- PUSHD . echo Purging foreign languages from Xmarks CD /D %APPDATA%\Mozilla\Firefox\Profiles\*.DEF\EXTENS~1\FOXMAR~1.COM\chrome\locale\ IF NOT EXIST F* GOTO SKIP DIR | FIND "/" SET ANS=N & SET /P ANS="PURGE all above except en-US ? P(urge) / N(o) :- " IF %ANS% NEQ P GOTO SKIP ECHO PURGING ... FOR /D %%X IN (*) DO IF NOT %%X==en-US RMDIR /S /Q %%X PAUSE :SKIP POPD REM C:\PROGRA~1\ERUNT\AUTOBACK.EXE C:\Windows\ERDNT\AutoBackup\#Date#_#Time# sysreg curuser otherusers IF "%1" NEQ "/SHUTDOWN" START CCLEANER64 %2 & EXIT ECHO INVOKING "START CCLEANER64 /AUTO %1" START CCLEANER64 /AUTO %1 EXIT N.B. The ERUNT registry backup was commented out when I upgraded from Acronis to Macrium backup, so very much better and more certain. Link to comment Share on other sites More sharing options...
Super Fast Posted July 22, 2011 Author Share Posted July 22, 2011 Manual update is not needed. Just a single revision to the BAT script then no more manual updates, e.g. SET ProgramFiles=E:/Program Files START /WAIT CCLEANER.EXE SET ProgramFiles=F:/Program Files START /WAIT CCLEANER.EXE SET ProgramFiles=G:/Program Files START /WAIT CCLEANER.EXE SET ProgramFiles=H:/Program Files START /WAIT CCLEANER.EXE I see. Could hold potential. So just basically a-z the program files directory? Just might work! Although, if you have a lot of directories on a lot of drives, relative path support might start to look good. Will have to try to think a little & see what I can come up with. U are kinda inventive, aren't u? Haha! Thanks for the ideas! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now