Windows hints, tips, and tricks

From CoolWiki
Revision as of 16:30, 19 June 2008 by Rebull (talk | contribs)
Jump to navigationJump to search

Unzipping files

You need to unzip the files that Leopard puts on your disk. You should be able to simply double-click on the zip file to make it work. You might need to install a program such as Winzip.

On a Windows XP it turns out not to be so easy. There is an embedded/native unzip program built into Windows XP. To use from Windows explorer you click and highlight a single zip file that you would like to unzip. Then from the File menu click on Extract All and the Extraction Wizard will lead you through the steps and extract your file. You will need to select the folder to extract to (same as the folder name is what I picked).

But this method does not seem to work with unzipping many files at one time.

To unzip a large group of zipped files I believe the only way is to download a program like winzip pro

I used download.com to get the trial version of Winzip 11.1. After downloading and installing the program then you can unzip many files at one time.

1. In Windows explorer click on the folder that has all of the zip folders. In the right hand window should be a list of all of the zip folders. Click on the first folder in the list holding down Shift click on the last folder. This will highlight all of the files.

2. Go the file menu and then to Winzip and to Extract to here.

After some time you will find all of the unzipped files in folders just like when you unzip the files on any other platform.

MOPEX

We are assuming most MOPEX users are on a unix-based (unix, linux, mac) machine, which is recommended not just for the tricks and things listed in the other pages (such as Make a simple mosaic), but also for speed and reliability. Several of the items below will help with running MOPEX on windows.


Getting file lists

Most of my hints and tips use tools available for unix-based systems, such as redirects, grep, sed, and awk. To make those tools work on windows systems, you could download and install the Cygwin package (www.cygwin.com). This would give you a UNIX-like terminal window, from which to execute unix commands like

  % ls -1c > list.txt

Installation is fairly straightforward.

Alternatively, to get a file list, you could just

  $ dir *fits

and then copy and paste into WordPad. Of course, this isn't as powerful.

APT

Again, APT runs much more easily on a Mac, but it does run on Windows too. We have found two different ways to install APT. Option one is to download and install the Cygwin package (www.cygwin.com) and then follow the directions on the APT page.

Option two follows:

Go to a command prompt in Windows XP. To do this click on Start > All Programs > Accessories > Command Prompt

This should bring up a text window with the following or similar prompt:

 C:\Documents and Settings\Username>

Then type:

 C:\Documents and Settings\Username>java -version

You should see a response like

 java version "1.6.0_03"
 Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
 Java HotSpot(TM) Client VM (build 1.6.0_03-b05, mixed mode)

If your java version is less than 1.6.0_03, you must first download and install the JDK from www.sun.com.

Now pick a directory and install the APT program. You will need to "untar" it since it comes in "tar" format which is a way to combine multiple directories (it comes from the days of data tapes and stands for "tape archive.")

If your machine does not recognize that format, go to the following site and install this free tar program: http://www.7-zip.org/

Click on the first download .exe file and then install it.

Once installed, you should run it on the APT tar file and get a directory named APT_windows_v0.98 with a subdirectory of APT_v0.98 (or whatever the current version is).

Now you need to go back to the command prompt. In it go to the directory APT_v0.98 (or whatever the current version is).

So if you have installed it in the "Program Files" directory type the following:

 C:\Documents and Settings\Username> cd \Program Files\APT_windows_v0.98\APT_v0.98

Then you should see this prompt:

 C:\Program Files\APT_windows_v0.98\APT_v0.98>

Then type:

 C:\Program Files\APT_windows_v0.98\APT_v0.98> java APT

This should start the program.