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: 553
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
 
Swiss File Knife

Swiss File Knife 1.7.5

Open Source

The ultimate command line toolkit?

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

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
Balabolka

Balabolka 2.11.0.585

Freeware

Have your PC read the text of Word, PDF, EPUB and other files

DisplayFusion

DisplayFusion 7.2

Freeware

Make the most of your multi-monitor setup using this handy utility

Easy Service Optimizer

Easy Service Optimizer 1.1

Freeware

Tune your Windows services for (maybe) improved PC performance

M8 Free Multi Clipboard

M8 Free Clipboard 20.31

Freeware

M8 Free Multi Clipboard offers a no-frills extension to the clipboard

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

Unreal Engine 4.8

Free Full Commercial Software

Unreal Engine is Epic Games' game engine, a powerful suite of tools for developing anything from basic 2D games to professional RPGs, first person shooters and whatever else you like.

Wide standards support - DirectX, OpenGL, JavaScript/ WebGL - means your projects can be targeted to almost any platform: consoles, iOS, Android, Windows, OS X, Linux, HTML5 browsers and more.

There's a vast amount to learn, of course, and that's even before you start building your game. But there's plenty of documentation, tutorials, demos and sample projects to point you in the right direction.

The package is now entirely free, too - no annoying limitations, nag screens or anything else. Epic now only requires that you pay a 5% royalty after the first $3,000 of revenue per product per quarter. And even then, you "pay no royalty for film projects, contracting and consulting projects such as architecture, simulation and visualization."

8.48 brings:
    - Optimized grass rendering and procedural foliage system preview
    - Plugins available in Marketplace
    - Improved accuracy for motion blur
    - New Tone Mapper
    - Support for all the latest VR hardware including Oculus Rift, Samsung Gear VR, Steam VR and HTC Vive, Leap Motion, and Sony's Project Morpheus for PlayStation 4
    - "Scrubbable" network replays with rewind support and live time scrubbing
    - Visualize the memory footprint of game assets in an interactive tree map UI

[...]
Value:
Free
Rating: