Understanding Compression
What It Is and What’s Involved
Downloading files from the Internet has always been one of the most popular activities on the Internet – third to sending email and browsing the web. We download files from software libraries, ftp directories, YouTube and Google Video, MP3 sites, and we download files sent to us as email attachments.
Being so popular an activity, it’s imperative that you compress the files destined for another computer. File compression combines a number of different files into one file, and it can also significantly reduce a very large file to a smaller one. As a result, the transmission of a compressed file across the Internet is faster and smoother. This article looks at compressed files a little closer and it describes how to compress and decompress them using two of the most popular archiving programs.
Identifying Compressed Files
Most files are compressed in .zip format (if you’re using Windows) or .sit format (if you’re using a Mac). The two most popular software programs used to compress and decompress files are Winzip and StuffIt respectively. There are other programs that do the same thing and there are even programs that can compress and decompress files for both the Windows and the Mac system. However since Winzip and StuffIt are the most popular, we will assume you will use either one to compress and decompress your own files.
If you download a compressed file from a website or file library that ends in an .exe extension, take note that although the file is compressed, it’s typically a file that will install a program onto a computer. .Zip or .Sit files don’t install software – they merely archive a collection of them into one, or they significantly reduce the size of a larger one.
Decompressing Files
Assuming that you have Winzip or StuffIt installed on your computer, you can access the files archived inside a .zip or .sit file by simply double-clicking the archive (a file ending in a .zip or .sit extension). Double-clicking one of these kinds of files will open up a window that displays the contents of the archive. In most cases, you can double click a file inside this window to use it, or you can select it and drag the file to a folder to view later.
Depending on how you elected to install Winzip or StuffIt, you may be able to right-click a .zip or .sit file and have the program extract its contents into a new folder for you.
Compressing Files
When you want to upload a file or email a collection of files to a friend, it’s best to archive it as a .zip or .sit file first. This will decrease the time it takes for your computer to send it elsewhere, and it will also decrease the time it takes for someone else to download it.
To create your own .zip or .sit file, you can select a single file or a group of files from within Explorer, and right-click the selection. Again, depending on how you installed Winzip or StuffIt, you can click the “Add to Zip” or “Add to Sit” option and have these programs automatically archive the file(s) into one.
Some files compress better than others and in some instances, you may not notice that much of a difference. The files that compress the best are images, documents, and multimedia files. Executable files (files that end in an .exe extension) don’t compress that well, however when they’re archived with a sizable number of other files, they compress rather well. Go figure!
Automating Things with Batch Files
They Work on Today’s Computers Too!
If you’re familiar with MS-DOS at all, you’ll recall that it’s a command-driven operating system that performs functions issued at the C:> prompt. The only way to get an MS-DOS computer to do something was to type a command at this prompt and if you can imagine, it was a rather cumbersome way to use a computer.
As an example, to load up Microsoft’s simple editing program, you had to type the name of the drive that the program was on, the directory that the program was in, and then the name of the program. So if Microsoft Edit was in a directory or folder named “Process,” you could start the program by typing, “C:>process\edit.com” Then, and only then would the program load up for use.
This is a small command, but just imagine if you had a program that was deeply nested within a series of folder. You could end up typing a command as wide as your computer screen or worse, long enough that the entire command would have to wrap onto the next line! Now imagine having to type these long commands every time that you wanted to start a program. Yikes!
That’s one of the reasons why batch files became so popular. Batch files are small text-based documents that contain a bunch of these commands on their own lines. When executed, they would process each command without the user having to type each and every one of them.
When Windows was developed, the need for typing commands was essentially eradicated thanks to the introduction of the point-and-click (mouse) interface. But this didn’t stop the batch file fever that started under MS-DOS – and in some small circles, batch files are still as popular as they were in the beginning.
Even though you may use Windows XP or Vista, batch files can save you tons of time by automatically starting multiple programs and performing different tasks at the single click of a button. They don’t require any extensive programming background and they don’t need to be encrypted with some weird, expensive compiler. Batch files are plain text files, and you can build one for your own personal use with Windows’ Notepad.
You could make a batch file that loads up your favorite websites at once for example, or you could make a batch file that fills your desktop with the most important applications for the day. To do so only requires a little knowledge about the locations of these applications.
Let’s say that every day we need to load up the Yahoo web browser, Microsoft Word, and then the calculator that comes with Windows. Instead of doing this by hand, we could write a batch file to do it for us.
First, we’d load up Notepad and type in the following:
START “http://www.yahoo.com”
START “c:/program files/microsoft office/office/winword.exe”
START “c:/windows/calc.exe”
We would then save this data into a file named, “mytasks.bat” onto the Desktop for easy access. Each time we double-clicked on this file, the Yahoo website would load up, Microsoft Word would start, and the simple calculator would pop up.
Since we want these programs to load every day, we could create a shortcut to this file and then place the shortcut inside our computer’s Start Up folder. That way, these three programs would load every time we turn on the computer. If you wanted these programs to start minimized, you could type the following into a batch file instead:
START http://www.yahoo.com /m
START “c:/program files/microsoft office/office/winword.exe” /m
START “c:/windows/calc.exe” /m
This will run all three programs as before, however the “/m” parameter will minimize them so that they don’t clutter up the desktop.
Other people have found much more creative and effective ways to use batch files, but the important thing is that you know they’re a resource you can use to save a few seconds or minutes in performing important tasks. We’ve come a long way from MS-DOS, but it’s still a valuable source of automation that anyone can use with no programming knowledge at all.
Networking Home Computers, Increasing Productivity With the Whole Family
Have you ever thought about networking your computers at home? If you have a small collection of computers around the house (and a small collection of computer users), you can connect each one of those computers to one another and share data, software, and hardware including a single Internet connection. There are many creative uses for home networking, however it’s an ideal situation when upgrading each computer to the same capability is financially out of the question. On a home network, each computer has access to the equipment of the better machine in the group as if that equipment were their own.
Connecting computers with either an Ethernet cable or a Wireless connection can create a home network. The easiest and cheapest method uses an Ethernet connection, which requires a series of network cards, a cable for each computer, and a router. The network card is similar to the old modems we used in the past to connect to the Internet, however in a home network, it’s used to communicate with every computer that’s connected to it.
You’ll want to first, select the computers that will connect to each other and then install the network cards inside each of them. Then you’ll connect a cable to each computer that will communicate with the server. These cables won’t connect to the server directly. Instead, they’ll connect to the router. To enable Internet access for each computer, this router will need to connect with a modem of the host machine.
Once the hardware is set up correctly (you’ll need to read the instruction manual of your equipment for details), you can then setup the network from Windows on each machine. Within Windows, you can set up a home network similar to the way that you set up an Internet connection. Only this time, you’ll set up a LAN (Local Area Network) connection.
Windows should walk you through setting up a LAN after starting the computer and once complete, you can begin to connect one of your machines to the network. You can do this through Internet Explorer by typing in the address and password required to access the router (the address and password required to access the router will be in the router manual).
Connected to the network, each computer can send files back and forth, open programs on a remote computer, play the sound files and videos located on another computer, and share a single Internet account to browse the web, download files, or chat with someone in an entirely different country. If a single printer is available on only one computer in the network, every connected PC can send documents to it and print them out. Kids will enjoy the ability to play multi-player games and adults will enjoy the ability to blast a single message to everyone at once or maintain a group schedule.
Since we’re describing a home network that will connect to the Internet, you’re strongly advised to install a protective firewall program to thwart Internet viruses, worms, or other damaging spyware code. Firewalls prevent – but they don’t repair. Only anti-virus and anti-spyware programs can reverse damage. So you should install a firewall on the computer that grants access to the computer, and then install an anti-virus and anti-spyware program on each of the remaining computers in the network.
If you have files that shouldn’t be shared (bank statements, credit card information, etc.), you can restrict their access in one of several ways. You can put them in a new folder and then remove the “read” permissions for that folder. Or you can specify who can (and who cannot) access specific files with a password from within Windows Control Panel.




