Jump to content

Option to run a .bat or .exe


chevota

Recommended Posts

I'd like to have an option under Options/Include to run an executable like .bat, .reg, or .exe when cleaning. For example CC will not delete those annoying My Music etc folders in My Documents, but a batch file will. Or a service or other item that changes with time or a boot.

I have one program that loses its registry settings now and then, and as a result puts out a bad final product, no idea how/why they change, but executing its .reg fix I made at every cleaning would keep the settings fresh.

And I'm sure there are lots of other people with other uses for an option like that too. Maybe some people always run a certain program after cleaning, like another reg cleaner, defrag program, virus scan, or a notepad with a daily reminder on it. So many things you could do...

 

Also an option to automatically select and delete all registry errors, so all you click is Scan for Issues and the rest is automatic. And maybe another check box that makes it jump back to the Cleaner window after it's done, since that's probably where most people go next.

 

It really is a great program. Thank you for providing it to us!

Link to comment
Share on other sites

I'd like to have an option under Options/Include to run an executable like .bat, .reg, or .exe when cleaning. For example CC will not delete those annoying My Music etc folders in My Documents, but a batch file will. Or a service or other item that changes with time or a boot.

I have one program that loses its registry settings now and then, and as a result puts out a bad final product, no idea how/why they change, but executing its .reg fix I made at every cleaning would keep the settings fresh.

And I'm sure there are lots of other people with other uses for an option like that too. Maybe some people always run a certain program after cleaning, like another reg cleaner, defrag program, virus scan, or a notepad with a daily reminder on it. So many things you could do...

 

Also an option to automatically select and delete all registry errors, so all you click is Scan for Issues and the rest is automatic. And maybe another check box that makes it jump back to the Cleaner window after it's done, since that's probably where most people go next.

 

It really is a great program. Thank you for providing it to us!

 

If you dont want my music, my pictures etc, go to start - run - regsvr32 /u mydocs.dll

 

which program looses wits settings? Have you tried contacting the maker or posted on there forum to resolve this?

 

As for "Also an option to automatically select and delete all registry errors" this has been suggested countless times and i hope, (i seriously doubt it would ever be implemented) it is never added.

 

You should not just delete registry errors because ccleaner displays them, CCleaner may be a gentle registry cleaner but there would be floods of i cant boot up posts,

No fate but what we make

Link to comment
Share on other sites

Thanks for the tip, but the "regsvr32 /u mydocs.dll" trick doesn't work, that's why I've only been able to do it with a bat file. Very frustrating, as if MS is doing this on purpose just to annoy people.

 

Two programs lose their settings that I have, well more really but two are annoying; Photoshop and a print screen prog. No I never bothered to call the mfg, those calls to India are more annoying than the problem. I used tech once in the past five years and it only served to reminded why I don't call. I can do without arrogant mono-tone robots who's only English is what's on their troubleshooting card.

 

As for the automatic registry errors, like I said; an "option" for people like me who never look at the results anyway. I suppose they could put a warning like they do on other things. I used to look at the results, but after a while of never seeing an issue I don't bother anymore. I've never had a problem with it, like you said, it's "gentile" I use JV16, Reg Supreme Pro and some others for a real clean.

 

Well, if you do ever come across a way to prevent those My Music etc folders, there's about a million people over here who will thank you.

 

Thanks, I appreciate the reply

Link to comment
Share on other sites

How about the other way round ?

 

Create a BAT file that does your specific cleaning, and includes the command

CCLEANER

or alternatively

START CCLEANER.

 

I do this and my script tests for the presence of a French language folder in a Firefox Addon,

and if present than it carefully deletes every folder that is not English.

This takes care of hundreds of foreign files that insist upon coming along upon a Foxmarks update.

 

Alan

Link to comment
Share on other sites

Thanks for the tip, but the "regsvr32 /u mydocs.dll" trick doesn't work, that's why I've only been able to do it with a bat file. Very frustrating, as if MS is doing this on purpose just to annoy people.

 

Two programs lose their settings that I have, well more really but two are annoying; Photoshop and a print screen prog.

 

As for the automatic registry errors, like I said; an "option" for people like me who never look at the results anyway. I suppose they could put a warning like they do on other things. I used to look at the results, but after a while of never seeing an issue I don't bother anymore. I've never had a problem with it, like you said, it's "gentile" I use JV16, Reg Supreme Pro and some others for a real clean.

Thanks, I appreciate the reply

 

"In WMP go to the following: Options>Media Library>Monitor Folders, and remove the folder monitored. Then delete that folder. That should get rid of the folder from being created again." might work for my music, il have a look for the others....

 

I do understand some people dont check the registry entrys, and in 4 years iv never once had ccleaner mess up...but it would be bad practice to implement such a feature.

 

When you say "for a real clean" what do you mean? An over aggressive cleaner that is more likely to kill your machine? I never bother with registry cleaning unless i have uninstalled an app. There is to much hoo har over reg cleaning/defrag.

 

Or as alan said create a bat, or use vbscript. It's very easy to learn.

 

Il keep looking for ways to permanently kill the folders

 

when you say loose there settings? Can you expand on that....we might be able to help.

 

edit: i no it's not a solution, but i remember in tweak UI you can move the location of these folders. "My computer" "Special Folders"

 

The move them to a location you cant see

No fate but what we make

Link to comment
Share on other sites

Thanks Alan B, that's a thought, and I may give that a try, but I'd still rather that CC do it.

 

Thanks again ident, you obviously know more than I do about this stuff. I'll try what you suggested.

As for reg cleaning, it's really more of an anal thing, like Alan B mentioned about foreign files. It's something you'll never see or bother you, but for some people it's a challenge to remove everything that's not needed and to fix everything that bugs them. That's really all it is to me, so I clean with CC, then sometimes I use JV, RegScrubXP and others to get problems that the other cleaners missed. I have never had a serious problem with reg cleaning, and if I do I can just fix it. Sometimes I go in and delete files/folders just to see what happens, and if they do cause damage I can just go into a ghost image and pull a copy out, or use a PE disc if it won't boot. And if all else fails, I simply re-ghost it :)

It's all just for fun really, if it were a work machine that I couldn't afford to have down then I wouldn't do it. Plus I end up looking up files and hacks etc on the net and learning a lot about computers and the OS, just like I'm learning stuff right now with you, so thanks!

 

The smallest/easiest program I have that loses settings is Purrint. http://purrint.en.softonic.com/ It's also the worst too, sometimes I'll set it, make a copy, then < a minute later I'll try to make another copy and it's lost it's settings already. I'd like to see if CC could reset it automatically, then after that I'll worry about fixing it correctly. Just a learning experience/challenge is all... I'd like to get CC to do as much stuff as possible with one click. Like with reg tweaks, it's fun to pack as many as possible into one big file and have it all work correctly.

 

I defrag a lot too. I know it doesn't help to go from one or two files fragged a few times to zero frag, but again it's just an anal thing like Alan's foreign files. It's also fun to get the whole system as perfect and light as possible, then ghost it. Not only so you have a perfect ghost image ready to go, but to see how small you can get the image too. Same with making an install disc, delete/disable as much as possible, and make it as small as possible, and still have it work correctly. I've made XP install discs as small as 155M with minimal services etc running. I'm sure it's not a record, but it's my record. Just a challenge...

 

There is one thing I've been working on for a while that maybe you can help me with. That is getting the default window width for folders in XP to be the width I choose vs the very wide oem setting. I know you can set all existing folders to stay the width you want, but you have to set each one individually. I want all existing and new folders to automatically be my width as default. Any thoughts???

 

Thanks again!

Link to comment
Share on other sites

Well, if you do ever come across a way to prevent those My Music etc folders, there's about a million people over here who will thank you.

 

When you have removed the "My Music" folder,

you can probably create "My Music" file (no extension),

and that should prevent regeneration of the folder.

To be sure the file is not deleted, you can write protect it.

To be doubly sure you can use CACLS so nothing has access to it.

The file can be zero length size.

 

If you launch CMD.EXE and invoke "CACLS /?" it will show you the options,

complete with "explanations" I cannot get my head around.

It scare me, so I have only used it twice ! !

 

Alan

Link to comment
Share on other sites

  • 2 weeks later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.