Please visit the LangaList Home Page

Please note: Older issues may contain information that is now out of date


How To Subscribe and Unsubscribe is at the end of this note. Mailing List Trouble? See http://langa.com/help.htm
Questions about the advertisers? See the end of this note. Please also see legal notices at the end of this note. LangaList: ISSN 1533-1156

Please recommend the LangaList to a friend! (And maybe win a prize!)

An easier-to read formatted HTML version of this newsletter is available
<a href=" http://langa.com/newsletters/2004/2004-11-15.htm ">here</a>

The LangaList
Standard Edition

2004-11-15

A Free Email Newsletter from Fred Langa
That Helps You Get More From Your Hardware, 
Software, and Time Online

Please visit our sponsors and help keep the LangaList S.E. free!

Contents:

1) Windows In 1/10th The Space
2) Farewell, Free AVG?
3) The Danger Of "Scraps"
4) Bulk Rename: Two Very Easy Ways
5) Bulk Rename: A Deep-Geek, But Flexible, Way
6) Is This Newsletter Interesting? Useful?
7) Linux Security Problem
8) Code-Load Success Story
9) What About "Quarantined" Files?
10) Just For Grins
11) Plus! Edition Highlights:

Next Issue:
2004-11-18

 

--- ( Your Clicks On Ad Links Help Keep The LangaList Free! ) ---

--------------( the above is an advertisement )-------------

 

1) Windows In 1/10th The Space

It's true: You can pare down Windows 98 to fit in about 1/10th the space it normally occupies; and you can trim XP or Win2K to half its normally corpulent bulk. The trick is to use the tools available from LitePC, a company that managed to do what Microsoft said couldn't be done: You can remove whole chunks of Windows, deleting features and functions you don't want or need, leaving you a smaller, faster, Windows that may also be more secure and stable.

I tested "XPlite" for myself, and have posted the results--- along with screen shots so you can see exactly what's involved, and links to the products discussed--- at http://www.informationweek.com/story/showArticle.jhtml?articleID=51202853 .

Come check it out. If you're looking for a way to make Windows smaller, faster, and maybe more secure, the information above may be just the ticket!

Click to email this item to a friend
http://langa.com/sendit.htm

return to top of page

--- ( Your Clicks On Ad Links Help Keep The LangaList Free! ) ---

--------------( the above is an advertisement )-------------

2) Farewell, Free AVG?

Hello Fred, It is with much regret that I heard that as of the end of this year, AVG 6 will no longer be offering free virus definition updates to its users. Indeed in order to get these updates users will have to upgrade to AVG 7 which is, of course, [not freeware].

Whilst one is surfing the web one can fall prey to loads of nasties lurking out there such as viruses, trojans, spyware, adware and with regards to e-mail, spam.

There is however and excellent free anti virus program out there namely Avast Home Edition and it can be downloaded from http://www.avast.com/ and I hope that you cam pass this information on to your readers in a future newsletter.

Regards, Trevor Davies

While it's true that the current free version of AVG will no longer be updated or supported, there is a replacement in the works. Until it ships, we won't know what it does or how good it is, but there will at least be some kind of alternative available:

New Generation of AVG Free Edition to Replace Current 6.0 Free Edition: GRISOFT is pleased to announce that the next generation of AVG Free will be available soon!... AVG Anti-Virus 6.0 FREE Edition will be discontinued on December 31, 2004, and virus database and program updates for this edition will no longer be available...[more info: http://free.grisoft.com/freeweb.php/doc/5443/lng/us/tpl/v5 ]

But there are other free antivirus tools available too, including Avast, as mentioned. Also, the free "Microsoft Partner Pack" includes a copy of Computer Associates' "eTrust 2005" with a one-year free subscription to updates. You can download a copy at http://www.majorgeeks.com/download4390.html or http://langa.com/u/6q.htm or direct from Microsoft at http://www.microsoft.com/windows/partnerpack/ (although the official Microsoft downloads are actually more cumbersome than the third-party sites.) You can also order the "Partner Pack" on CD http://www.microsoft.com/windows/partnerpack/cd.aspx ; the CD is free, but you have to pay shipping. eTrust isn't generally regarded as a top choice among AV tools, but still, it's a cheap way to get a year's worth of at least basic antivirus protection. 8-)

Lots more free antivirus tools and info:
http://www.google.com/search?as_q=free+antivirus&as_sitesearch=langa.com

Click to email this item to a friend
http://langa.com/sendit.htm

return to top of page

3) The Danger Of "Scraps"

Hi Fred. This is a new one on me! Magnus Mischel makes a strong case for the danger of "scrap" files which he describes as remnants from OLE objects. ( http://www.misec.net/papers/scrapfiles/ ) Unfortunately, he doesn't make it clear if it's safe to just remove them, assuming you can find them. I'd like to hear your take on the subject. Thanks, Paul Millard

Magnus is right, Paul, although the danger of "scraps" (there are several variants) has been known for a long time. For example, see these items from four years ago:
http://langa.com/newsletters/2000/2000-06-22.htm#4

http://www.informationweek.com/langaletter/102099langa.htm

Most AV and scripting-security tools know about scrap files, and guard against their misuse. But you can use the above info to help make sure *your* tools properly guard against these files.

And yes, it's safe to remove/delete scraps. Just don't launch/run/open them, until and unless you know for sure it's safe to do so.

(For a somewhat related item on controlling the "Windows Scripting host", see item #11)

Click to email this item to a friend
http://langa.com/sendit.htm

return to top of page

--- ( Your Clicks On Ad Links Help Keep The LangaList S.E. Free! ) ---

"Fred, I , like so many computer geeks get in the habit of trying out
different software (freeware and shareware) never planning to use it,
but just trying it out so we will have a glimmer of an idea of what
[someone] may be talking about. Computer, internet, service newsletters
are the same, I have so many sent to me at my junk mail e-mail site,
that I never more than browse them (if I don't automatically trash
them). Then comes the dawning: 'I really am reading and *using* this
particular newsletter or software.' I guess what I am really trying to
say is Thanks... At this time I must sign up for the plus subscription
(at my real e-mail acct). If we use it, we should pay for it....I and my
clients thank you. Bob Javoroski"

Thanks, Bob. The Plus! edition is just 14 cents an issue--- $1 a month---
but that small amount is what keeps Langa.Com and this newsletter afloat.

Get all the details:
http://langa.com/plus.htm

--------------( the above is an advertisement )--------------

4) Bulk Rename: Two Very Easy Ways

The item on "Bulk Renaming" (processing many files at once) in http://langa.com/newsletters/2004/2004-11-08.htm#7 brought quite a bit of mail. For example:

Hi Fred, thanks for a great newsletter. I'm a Plus edition subscriber from Germany and I use "Lupa's Rename" for renaming files. It is freeware and it has a lot of possibilities to change the name into other names or numbers, counting or not and so on. You may find it at http://www.azheavymetal.com/~lupasrename/lupasrename.php . Give it a try it's one of the best programs for bulk rename.---Reinhard Gross

Fred, Reading your newsletter, I noticed a reader wished a utility for renaming files: It just so happens I have such a utility that was written in VBScript and is available for download from my website.  The only restriction is that you must direct it to a specific folder, and it will rename all files according to the format the user chooses. You will find it on my main page under the Tips Section.  Feel free to download it and test it yourself.  It is such a simple script, and does exactly what your user wants it to do. http://www.doverproductions.com  Yours, Wm Pecht

Thanks, Reinhard and William!

See also next item.

Click to email this item to a friend
http://langa.com/sendit.htm

return to top of page

5) Bulk Rename: A Deep-Geek, But Flexible, Way

Sometimes, I get plaintive questions along the lines of: "Fred, when someone asks you a question, why not just give a simple, 'Do this...' answer?" Long-time readers have probably figured out why I often take the longer route in giving answers, but newer readers may not know why:

It's because simple "Do this..." answers only deal with the specific case at hand. I feel it's better to try to generalize the answers, so that you'll not only see how to solve the immediate problem, but also how to apply that information to a whole range of other problems that may not be exactly the same, but that are similar.

For example, the previous item (above) provided useful tools that can help rename large numbers of files. But there are other ways to accomplish the same task, some of which initially are harder and take longer, but that (1) require no additional software at all; and (2) are more general, more flexible, and ultimately more powerful: The underlying concepts can be used for all manner of file manipulation, rather than just renaming. For example:

Fred, I'm a 27-year veteran of the Computer Wars and I find something to spark my interest in every single issue of your Plus newsletter, thank you! Being an old-timer, my first thought when I saw [the question about bulk rename] was, "what a wonderful chance to use the Command Line Interface." When I worked as a Unix Admin, we used to try to outgeek each other with one-line Perl scripts. This is maybe an outshoot of that.

With such structured filenames, the FOR command is the perfect solution. Mr. Alvey has filenames in the form File#.doc--that is, static text, a number, and the extension--and wants to rename them to the number, some static text, and an extension--that is #MyFile.doc. In XP (at least), FOR has an iteration structure that will allow this to work. As a test case, I went to the command line and did:

for /l %i in (1,1,3073) do @if exist file%i.doc rename file%i.doc
%iMyFile.doc

This starts a FOR loop with iteration turned on (/L) and gives FOR a variable to work with (%i). Then, FOR gets the START (1), STEP (also 1), and STOP (3073) values. It will count, by STEPs from START to STOP. For each iteration, it will do the rest of the line after DO. Here, we have @ (to turn off the standard out or dumping the results to the screen--it saves a *lot* of time) and a test for the file (IF EXIST FILE%i.DOC). As I'm sure you know, the %i will be replaced by the current count of the FOR loop. If the file exists, it will be renamed from FILE%i.DOC to %iMYFILE.DOC. It takes a little less than a second and a half.

The down side is that it doesn't zero-pad the numbers, so they will sort in a very ugly way (1, 10, 11...19, 100...2, 3, 30...). To get around this you have to include some IF/ELSE clauses, like this:

for /l %i in (1,1,3073) do
 @if exist File%i.doc
   if %i LSS 10
    (ren File%i.doc 000%iMyFile.doc)

        ELSE (if %i LSS 100
          (ren File%i.doc 00%iMyFile.doc)

             ELSE (if %i LSS 1000
               (ren File%i.doc 0%iMyFile.doc)

                  ELSE
                   ren File%i.doc %iMyFile.doc
            )
)

or, all on one line:

for /l %i in (1,1,3073) do @if exist File%i.doc if %i LSS 10 (ren
File%i.doc 000%iMyFile.doc) ELSE (if %i LSS 100 (ren File%i.doc
00%iMyFile.doc) ELSE (if %i LSS 1000 (ren File%i.doc 0%iMyFile.doc) ELSE
ren File%i.doc %iMyFile.doc))

This is not a "simple" method, in the end, as Mr. Alvey was hoping for. [But] the point, simply, is this: you don't always need to go find/buy software to do the task at hand. Frequently, you already have excellent tools, just waiting to do your bidding. Thanks for the great newsletter! --- Lance C. Eck

I agree, Lance. By all means, I suggest readers use the simple tools if they fit the bill; but also consider digging a little deeper so that they can solve problems that ready-made tools may not be able to. Lance's method may or may not work for what you have in mind, but it serves as a guide to a whole range of solutions.

For more info, see:
http://www.google.com/search?&q=batch+language
http://www.google.com/search?&q=command+line
http://www.informationweek.com/story/showArticle.jhtml?articleID=13000138

Click to email this item to a friend
http://langa.com/sendit.htm

return to top of page

6) Is This Newsletter Interesting? Useful?

If you think the LangaList is a worthwhile read, maybe a friend would find it useful too! Just use the following link to recommend the LangaList---your friend may find a new source of useful information and you just may win one of three FREE ONE YEAR SUBSCRIPTIONS to the LangaList Plus! edition given each month. (If your name is drawn and you're already a Plus! subscriber, your current subscription will be extended by a full year.)

Check out the details at http://langa.com/recommend.htm . Thanks for recommending the LangaList--- and good luck!

Click to email this item to a friend
http://langa.com/sendit.htm

return to top of page

7) Linux Security Problem

I won't spend a lot of time on this, but if you're running Linux with the relatively new 2.6 Kernel, you might want to stay especially alert for patches for this problem:

SUSE warns of hole in Linux kernel: http://snipurl.com/ajn5

Click to email this item to a friend
http://langa.com/sendit.htm

return to top of page

8) Code-Load Success Story

Code-loader Bill Cain writes:

Hello Fred, Long time "free" subscriber and recent "Plus" convert. After Loading the Code and being listed in the newsletter ( http://www.blcain.com ), my hit count went from an average of 100 or less a day to a -WOW- 7974 hits the next day! Just proves that if you build it (and load the code) they will come! ---Bill Cain

Do you have a home page or website? (It doesn't matter what size.) Please click over to http://langa.com/code.htm , and maybe you can join the thousands of LangaList readers who have "Loaded the Code!" (If you've already "Loaded The Code" and are wondering if your site will appear here or on the Langa.Com web site, please see http://langa.com/link.txt )

Speaking of which: Here's another eclectic sample of reader sites--- some professional, some very personal:

View A Randomly-Chosen Reader Site
http://langa.com/randomlink.htm

Manually Browse All Posted-to-Date Sites Starting At
http://langa.com/readersites.htm

Carter County Ky Freecycle
http://groups.yahoo.com/group/CarterCountyKyFreeCycle/

Gowganda and Iqaluit Photographs
http://northerncomfort.info/

The Jukebox Turntable
http://home.insightbb.com/~jukebox/index.htm

Shopping Site
http://www3.sympatico.ca/

At Leisure
http://jim2jak.tripod.com/

Fantasypoliticsleague
http://fantasypoliticsleague.com/index.html

Kansas
http://members.cox.net/dmorris9/

etc etc etc
http://www.rbonnell.com/

bleeping computer
http://www.bleepingcomputer.com/

Alba_gu_Braith
http://www.geocities.com/alba13142003/Alba_gu_Braith.html?1083866283453

Click to email this item to a friend
http://langa.com/sendit.htm

return to top of page

--- ( Your Clicks On Ad Links Help Keep The LangaList Free! ) ---

--------------( the above is an advertisement )-------------

9) What About "Quarantined" Files?

Fred,  I've come to appreciate the variety of items you have to offer in your newsletter.  In fact, perhaps a little too much, as an overly cluttered desktop will attest.  What gets me to write is a question that came to mind as I was disinfecting my computer over the weekend.  Although NAV and AVP are both running, and I'm careful about what gets opened, somehow a few worms/viruses of the Beagle and Bagle (AVP's spelling) variety got loose and infected over 550 files on two hard drives. Typically, A-V applications either clean the file or, if they don't have the algorithm for doing so, will quarantine the culprits in a separate folder.  That led me to wonder, why don't they just delete the files entirely, wipe them clean off the drive (bypassing the recycle bin), or at least offer that option?  There must be a good reason, but I don't recall ever seeing a discussion of this.  Thanks, Gene Goldenfeld

It's a security thing, Gene: Some AV tools do offer direct deletion, but many use some kind of a quarantine folder as a limbo area where files reside for a time, and from which they are recoverable, until they're finally disposed of for good. The idea is to hold on to the files just in case one of them turns out not to be infected or is otherwise something you may require access to (eg by safely opening the file with something like Notepad, rather than Word or Excel or your email client).

But this can cause a problem because the quarantine folder can become truly huge until and unless you run the cleanup tool ("View/Delete Quarantined Files" or some such) in your antivirus software.

I get a *lot* of email, so my quarantine folder typically has thousands of items in it by the end of each day.  And I found that I essentially never needed the files that get quarantined on my system. So I added this line to my CleanUp batch file:

del "C:\Program Files\Norton AntiVirus\Quarantine\*.*" < c:\y.bat

The first part of that line starts to delete everything in the quarantine folder. But a "del *.*" generates an "Are you sure?" dialog, which requires a Y(es) to proceed or a N(o) to stop. To handle this dialog automatically, I created a plain text file containing just the letter Y and named the file "Y.bat".  The command "< c:\y.bat" tells the operating system to take the content of c:\y.bat--- a "y"--- and feed it to the preceding command, which in this case is the del(ete) command. Thus, this line as a whole starts the del(etion) of all the files (*.*) in the C:\Program Files\Norton AntiVirus\Quarantine folder, and then answers its own "Are you sure?" dialog by accepting as input ("<") the contents of the y.bat file, which in this case is simply a "y" for yes. In this way, the whole thing runs automatically and without any user input, deleting all the quarantined files.

I run the above as part of my normal, daily automated cleanup operation ( http://langa.com/cleanup_bat.htm ), and thus free up a ton of disk space that otherwise would be wasted, or that would require manual attention. 

Of course, you can do something similar on your system by editing the above line to point to the name and location of *your* quarantined files. If you'd like more info on command lines like this--- which can be used for all kinds of task automation--- see the links at the end of #5 above.

Bottom line: The quarantined files are there so you can access them if you need to; but if you don't need to, now you have an automated way of getting rid of them!

Click to email this item to a friend
http://langa.com/sendit.htm

return to top of page

10) Just For Grins

This Swedish reader enjoys taking on salespeople who parrot a sales pitch with no clue what they're talking about:

Hello Fred, I'm a salesman killer. I take every opportunity to put them in a corner where they can't get out.

[Here] in Sweden they will often tell you that "this computer also has 256 Gray Scales" (plural)!

So I fired my innocent request: "Aha, interesting, I see one gray scale on the screen. Could you please show me one of the other 255 gray scales?"

The poor salesman tried but gave up and asked me to wait a moment while he called a technician for help! Bingo ;-)

Regards, Stig Boberg, Linkoing Sweden

Click to email this item to a friend
http://langa.com/sendit.htm

return to top of page

--- ( Your Clicks On Ad Links Help Keep The LangaList Free! ) ---

--------------( the above is an advertisement )-------------

11) Plus! Edition Highlights:

  • Should You Disable the "Scripting Host?"
        (...and if so, how?)
  • Win98 Dies When Moving Many Files
       (workarounds and permanent fixes)
  • Build Your Own Help Files... On Any Topic!
       (free tools can make it easy!)

The Plus! edition is only pennies per issue, and comes with a MONEY BACK GUARANTEE from Fred. How can you lose? Check out the details: http://langa.com/plus.htm

Click to email this item to a friend
http://langa.com/sendit.htm

return to top of page

(Give a gift subscription to the LangaList Plus edition!
Click <a href= " http://langa.com/plus_gift.htm ">here</a>)

See you next issue, 2004-11-18!

Best,

Fred
( Editor@Langa.Com )

Please recommend the LangaList to a friend! (And maybe win a prize!)

An easier-to read formatted HTML version is available in the "Current Issue" section of http://langa.com.  (The HTML version of each issue normally is available by 9AM EST [UT-5] of the issue date.) All past LangaList issues are also available at the Langa.Com site.

return to top of page


Administrivia:

UNSUBSCRIBE (instant removal!): http://langa.com/leave_langalist.htm

SUBSCRIBE (it's free!): http://langa.com/join_langalist.htm

CHANGE ADDRESS? LIST TROUBLE? HAVE QUESTIONS? OTHER PROBLEM? NEED HELP? See http://langa.com/help.htm

This newsletter is SPAM PROOF and requires two levels of subscriber confirmation before delivery begins: See http://langa.com/info.htm

About the advertisers: http://langa.com/privacy.htm#ads

Disclaimer: http://langa.com/legal.htm  In brief: All information herein is offered as-is and without warranty of any kind. Neither Langa Consulting LLC, nor its employees nor contributors are responsible for any loss, injury, or damage, direct or consequential, resulting from your choosing to use any information presented here.

This newsletter is a service of Langa Consulting LLC and is Copyright © 2004 Fred Langa / Langa Consulting LLC. All worldwide rights reserved. LangaList: ISSN 1533-1156

return to top of page


Please visit the LangaList Home Page