RSS Feed

Please wait while my feed loads

See more posts...

Newsletter

Subscribe to either one of our two newsletters for regular updates and information

Downloads newsletter

This is a weekly newsletter with download news, updates and other information

This is a monthly newsletter with software store information, offers and deals

Crap Killer 2013.09.10

Find and uninstall junk programs - from a batch file?

by Mike Williams

Our Rating:
Your Rating:
Login to rate
Based on 0 ratings
License: Open Source
Operating Systems: Windows 7 (32 bit), Windows 7 (64 bit), Windows 8, Windows Server, Windows Vista (32 bit), Windows Vista (64 bit), Windows XP
Requirements:
Languages: English
Software Cost: Free
Date Updated: 26 February 2014
Watchlist: Add download to my watchlist
Downloads To Date: 507
Developer: Grintor
RSS News Feed: http://sourceforge.net/api/file/index/project-id/1941593/mtime/desc/limit/20/rss
Back in stock! Buy Malwarebytes Anti-Malware Premium v2 with a 1-PC LIFETIME license, only $24.95, from store.downloadcrew.com
Crap Killer
Find and uninstall junk programs - from a batch file?

Crap Killer is a tool which scans your installed applications, looking for browser toolbars and other junk, lists whatever it finds and offers to run each program's uninstaller for you.

If you think this sounds basic, then you're right. There's no special detection of spyware here; if a program doesn't appear in the Add/ Remove Programs applet then Crap Killer won't find it. And there's nothing to remove unwanted programs, either. All you can do is launch their official uninstaller.

What's more, when we tested Crap Killer, it suggested removing plenty of perfectly legitimate applications (Freemake Video Converter, for example). Fortunately you can always refuse.

So, why are we telling you about this? There's one main reason: Crap Killer is a batch file. This makes it much more of a technical achievement, but it also means you can freely edit the code to suit your own needs. Open the script in Notepad and you'll find a line like this (only longer).

@set include_list= /c:"toolbar" /c:"bar " /c:"coupon" /c:" shopp" /c:"shop to " /c:"shopat" /c:"shop at " /c:"arcade" /c:"price" /c:" deal" /c: " free"

Crap Killer works by scanning through your list of installed programs, and highlighting any which contain these keywords in its name. Using /c: " free" causes a problem because it appears in many legitimate programs, but because this is a batch file, you can just open it, remove that keyword, and try again. Easy.

The script's detection algorithm is still almost entirely useless, of course, but again, because this is a batch file, you can reinvent it for some other purpose. What if you would like an easier way to remove a particular set of programs from your PC? Then you might replace the above line with something like this:

@set include_list= /c:"Adobe" /c:"Google" /c:"Nvidia"

Run the script now and it will list only Adobe, Google and NVidia programs. Run the script with an /auto command line switch and it'll launch each uninstaller automatically.

If you sometimes create batch files yourself, though, Crap Killer's real value could be as an example of just what can be done.

Would you like to know how a batch file can elevate itself to run as an administrator, for instance? Maybe you're curious how a batch file can find and process the list of installed applications? The answer may not be what you're expecting - it's something of a cheat - but the technique is interesting, and there's plenty here you can reuse in your own scripts.

Verdict:

Crap Killer isn't good at finding or removing junk programs. Okay, it's rubbish. It does remarkably well considering it's only a batch file, though, and that's the real value here: the code has some very interesting segments which you can reuse in your own scripts.

Your Comments & Opinion
 
Related Download Articles
 
Batch IDE

Batch IDE 1.0

Open Source

Create batch files and run them with a click

Blat

Blat 3.2.4

Open Source

Send emails from the command line with this handy scripting tool

Swiss File Knife

Swiss File Knife 1.7.4

Open Source

The ultimate command line toolkit?

Shortcut Search and Replace 1.3.0 (64-bit)

Shortcut Search and Replace 1.3.0 (64-bit)

Open Source

Search for, delete or repair broken shortcuts

Other Download Articles From This Category
Glary Utilities

Glary Utilities 5.26.0.45

Free, for personal-use only

Comprehensive suite of PC speedup, maintenance and management tools

AutoHotKey's macro recorder

AutoHotkey 1.1.22.01

Open Source

Automate any task on your computer with this powerful scripting tool 

Reor

Reor 1.4.1

Open Source

A one-stop, do-everything calculator

Z-Cron

Z-Cron 4.9.0.68

Free, for personal-use only

An advanced task scheduler to automate repetitive jobs

From Softwarecrew

Please wait while my feed loads

See more posts...

Our Price: $49.99
RRP: $179.98
Saving 72%
Buy Now
Offer Ends In:
 

Spotlight: Free Full Software

WhatsApp Messenger 2.12.1

Free Full Commercial Software

WhatsApp Messenger is the world's most popular instant messaging app for smartphones.

You can use it to send and receive text and voice messages, photos, videos, even call your friends in other countries, and because it uses your phone's internet connection it might not cost you anything at all (depending on whether you'll pay data charges).

It's easy to set up and use. There's no need to create and remember new account names or pins because it works with your phone number, and uses your regular address book to find and connect you with friends who use WhatsApp already.

You can talk one-to-one or in group chats, and because you're always logged in there's no way to miss messages. Even if your phone is turned off, WhatsApp will save your messages and display them as soon as you're back online.

There's plenty more (location sharing, contact exchange, message broadcasting) and the app is free for a year, currently $0.99/ year afterwards.

Version 2.12.1 brings:
 - WhatsApp Calling: Call your friends and family using WhatsApp for free, even if they’re in another country. WhatsApp calls use your phone’s Internet connection rather than your cellular plan’s voice minutes. Data charges may apply.

[...]
Value:
Free
Rating: