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: 887
Developer: Grintor
RSS News Feed: http://sourceforge.net/api/file/index/project-id/1941593/mtime/desc/limit/20/rss
World Exclusive! Buy Norton 360 Deluxe with a 3-Device, 1-Year licence for only £15, saving 79% from store.computeractive.co.uk
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
 
Swiss File Knife

Swiss File Knife 1.9.5.2

Open Source

The ultimate command line toolkit?

Blat

Blat 3.2.12

Open Source

Send emails from the command line with this handy scripting tool

Shortcut Search and Replace

Shortcut Search and Replace 1.6.14 (64-bit)

Open Source

Search for, delete or repair broken shortcuts

Batch IDE

Batch IDE 1.0

Open Source

Create batch files and run them with a click

Other Download Articles From This Category
WInDynamicDesktop 3.4.1

WinDynamicDesktop 3.4.1

Freeware

Transition your wallpaper from light to dark through the day

CopyQ

CopyQ 3.9.3

Open Source

A powerful, configurable clipboard manager

pdfFactory

pdfFactory 7.07

Trial Software

Convert almost any documents to PDF format in a click

Windows Repair

Windows Repair 4.7.0

Freeware

Repair a corrupt or damaged Windows installation in just a few clicks

From Softwarecrew

Please wait while my feed loads

See more posts...

Our Price: $24.99
RRP: $79.99
Saving 69%
Buy Now
Offer Ends In:
 

Spotlight: Free Full Software

Windows 10 November 2019 Update ISO (build 1909)

Free Full Commercial Software

This is the latest version of Windows May 2019 Update. it's a media creation tool that can be used to upgrade an existing installation of Windows or create installation media for another PC. Just make your choice after launching the tool and it'll do the rest.

What was new in Windows 10, when it was released? The OS brought back the Start Menu, though with a twist: live tiles keep you up-to-date with the latest news while also providing an easy way to launch apps. (Don't worry if you prefer the Start Screen, it's still there and you can boot into it if you prefer.)

Apps now work much more like regular desktop programs. They have minimise, maximise, restore and close buttons, and can be resized (to a degree) and organised however you like.

If you've still lost track of a program in the mass of open windows, a new Task Spaces feature can help. Click its taskbar button and you'll see thumbnails for everything running now, a little like OS X's Mission Control - just click something to switch to it.

Better still, Task Spaces also supports virtual desktops. Add extra desktops as required and it'll display thumbnails of each one, making it easy to identify whatever you're after and switch to it.

There's also smarter snapping, new customisation options, and even a bunch of experimental additions to the command prompt.

November 2019 Update brings a whole host of new features for Windows 10. See the Microsoft Blog for more information.

The Windows 10 ISO will give you build 1090 which is the November 2019 Update.

[...]
Value:
Free
Rating: