Nederlands (Dutch)

home | tips | luxury | e-mail

TRICKS and handy things


Trick 1: zip and unzip, with the latest dos version of Pkzip (supports long filenames)

(Zipping is to compress a file, copy it with reduced size).

A new dos version of Pkzip is available, version 2.50. Here is another link, on the site of Old OS.
This is its direct link. Here another direct link of Ghisler.com.
The site of Pkzip has no longer an evaluation copy available.

The Pkzip.exe is 50 kB (50,663 bytes),
and the Pkunzip.exe is 34 kB (34,583 bytes).
The most important change in this version: long filenames support!
NOTE: long filenames support is only possible in Windows (DOS BOX). So not in MS-DOS.

To zip system, hidden, read only and archive files from a cdrom, leaving the attributes unchanged,
you need Phil Katz's program "Pkzip".
It's what Winzip cannot perform.

How is this done. Based upon these settings:
c: = hard disk
c:\temp = directory you made
the file pkzip.exe in c:\
d: = cdrom drive
d:\game = the directory of the cdrom with the files to be zipped
no path of pkzip in autoexec.bat.

TO ZIP

This is the ms-dos command to zip the files:
c:\pkzip -n+ -exx -rP -whs -Jhars -bc: c:\temp\test.zip d:\game\*.*

Explanation:
c:\pkzip = the zip command
-n+ = enables long file name support (new in version 2.50)
-exx = extreme compression (new in version 2.50)
-rP = preserve the names of the folder and its subfolders
-whs = zip hidden and system files (archive en read-only are automatically zipped)
-Jhars = retain the file attributes (hidden, archive, read-only and system)
-bc: = create the temporary zip file on c: (otherwise pkzip tries d:, which of course isn't possible)
         (pkzip creates a temporary file during zipping)
         (this command is not needed if you zip files from the hard disk)
c:\temp\test.zip = the directory and name of the zip file to be created
d:\game\*.*= the folder and sub folders and files you want to zip


Remark:
the opposite of -exx is -e0 = zero compression (storing) (between these are: -ex -en -ef -es)
the opposite of -Jhars is -jhars = mask file attributes
the opposite of -whs is -Whs = skip hidden and system files

TO UNZIP

This is the ms-dos command to unzip the file:
c:\pkunzip -d -Jhars c:\temp\test.zip c:\temp

Explanation:
c:\pkunzip = the unzip command
-d = restore directory structure
-Jhars= retain the attributes hidden, archive, read-only and system
c:\temp\test.zip = folder and name of the file to be unzipped
c:\temp = folder where the unzipped files are stored

TO ZIP FILES TO DISKETTES

If you want to zip files to a diskette or span them acros diskettes,
then the ms-dos command is:
c:\pkzip -& -n+ -exx -rP -whs -Jhars a:\test.zip d:\game\*.*

Explanation:
c:\pkzip = the zip command
-& must be added to enable spanning across diskettes (when the file size exceeds the size of a diskette)
-bc must be left out
a:\test.zip = location (diskette a:) and name of the zip file to be created.

TO UNZIP FILES ON DISKETTES

Here is the ms-dos command to unzip a zip file from a diskette:
c:\pkunzip -d -Jhars a:\test.zip c:\temp

Mind this: all commands are case sensitive.

WHY PKZIP AND NOT WINZIP?

Pkzip compresses files better (makes them smaller).
But especially: this dos version is best to use in making a batch file.
A batch is an executable file, a tiny kind of program,
easy for you to create in a few minutes.

Here's a short manual to make a batch that creates a backup of your documents onto a floppy disk:
-open a dos box (click Start - Programs - MS-DOS-prompt)
-type: edit backup.bat
-type: c:\pkzip a:\backup.zip -& -n+ -exx -rP c:\mydocu~1\*.*
          (your documents folder may have a different ms-dos name than "mydocu~1"
           so rightclick your documents folder, choose Properties, choose the tab General
           and see what its MS-DOS name is. Use this name instead of "mydocu~1"
-press the Alt key once, press the Arrow Up key twice, press Enter twice (= save the file).

The batch is ready, its name is backup.bat, usually stored in c:\windows
Create a shortcut to this batch on the desktop.
Any time you doubleclick the shortcut, your documents will be backed up and stored on (a) floppy disk(s).
In "tips" is another example of a batch file, particularly for Windows programs.

PKZIP IN COMPARISON TO WINZIP

I did some zipping lately. Here are the results.

to zip 63,4MB (379 files, 17 folder, 66.568.198 bytes):

pkzip exx: in 2 minutes 18 seconds zipped to 31.735.816 bytes
pkzip ex: in 2 minutes 12 seconds zipped to 31.738.455 bytes
pkzip en: in 1 minutes 46 seconds zipped to 31.817.593 bytes
pkzip ef: in 1 minutes 22 seconds zipped to 32.611.967 bytes
pkzip es: in 1 minute 4 seconds zipped to 35.085.031 bytes
pkzip e0: in 0 minutes 43 secondes copied to a file of 66.641.482 bytes

winzip maximum: in 4 min. 20 sec. zipped to 31.868.227 bytes
winzip normal: in 2 min. 10 sec. zipped to 32.052.807 bytes
winzip fast: in 1 min. 47 seconds zipped to 33.054.567 bytes
winzip superfast: in 1 min. 39 seconds zipped to 33.942.102 bytes
winzip none: 1 min. 26 seconds copied to a file of 66.645.442 bytes

copy with Windows explorer: 48 seconds

to zip 147MB (1.735 files, 162 folders, 154.257.687 bytes):

pkzip exx: in 5 minutes 23 seconds zipped to 77.207.309 bytes
pkzip ex: in 5 minutes 1 second zipped to 77.213.124 bytes
pkzip en: in 4 minutes 5 seconds zipped to 77.358.589 bytes
pkzip ef: in 3 minutes 27 seconds zipped to 78.649.002 bytes
pkzip es: in 2 minutes 49 seconds zipped to 83.487.995 bytes
pkzip e0: in 1 minute 57 seconds copied to a file of 154.607.955 bytes

winzip maximum: in 10 min. 45 sec. zipped to 77.480.336 bytes
winzip normal: in 4 min. 5 sec. zipped to 77.927.350 bytes
winzip fast: in 3 min. 25 sec. zipped to 79.896.042 bytes
winzip superfast: in 3 min. 2 sec. zipped to 81.356.719 bytes
winzip none: in 1 min. 58 sec. copied to a file of 154.626.925 bytes

copy with Windows explorer: 1 minute 58 seconds

so Pkzip is almost doublefast as Winzip at maximum compression

up

Trick 2: Use Hotmail as an extra hard disk to store your files: "SkyDrive"

With Hotmail (much more user friendly than Gmail, much safer than Outlook)
you have free on line storage of 25 GB. Not many know about this possibility.

This is how it works.

Open an Hotmail account. Click at the top on "More" and then "SkyDrive"
Now you see various folders. You can create your own folders too.
You can copy whatever you want to these folders.

For instance:
click on "Create folder"
give the folder a name and click on "Next"
Click on "Install the update tool now for faster, easier uploads."
(This is only needed the first time you start using your SkyDrive.)

From now on, you can open a folder of your SkyDrive and click "Add files"
A box appears and you can select your files and drag them to this box.
Then click: "Upload":

You can create more Hotmail accounts for more on line storage.

Notice: when you upload photo's, make sure you choose "ORIGINAL"
in the "Photo upload size" box. (Otherwise the photo's will be copied in a reduced size.)

up

Trick 3: Index.dat removal in a DOS box

The files index.dat is a hidden system file, belongs to Internet Explorer, gets bigger and bigger
and cannot be removed. That is, not in a normal way.
It stores the sites you visit, the google search commands etc.

When you like a clean pc, then here comes the solution.

A little dos knowledge is required, but that is given hereafter too.

The file index.dat is usually in the following folder:
C:\Documents and Settings\username (e.g. Ruud)\Local Settings\Temporary Internet Files\Content.IE5

Now open a DOS box and go to this folder.
That is done this way:

- click Start - Run
- type CMD and press Enter
- now the DOS box appears
- type the following
  cd c:\documents and settings\ruud\local settings\teporary internet files\content.ie5 and press Enter

Now you are in the folder that contains index.dat. To be able to delete index.dat
you must remove the attributes hidden and system.
That however is not possible while Windows is running.
To go around Windows the next trick is used:

- press Control Shift Escape
- click the tab Processes
- click Explorer.exe
- click the button End process

Now the desktop is empty, only the DOS box is present.

- in the DOS box type attrib -h -s index.dat and press Enter
  (now the attributes hidden and system have been removed)
- type del index.dat and press Enter

Gee, finally you got rid of that annoying big file.

Now press Control Alt Delete and restart Windows.

up

Trick 4: Outlook standard e-mail message ready to send

Here is a trick to fastly make and send frequently used e-mails,
even without starting Outlook! Hurray, to Outlook without Outlook!

It goes this way:
- create a concept in Outlook
- go to "Concepts" and drag the concept to your desktop and click "Copy here"
- now you have a concept e-mail message on your desktop

You can change its name by rightclicking it and choosing "Rename".

Doubleclick te concept.
Now you can change the contents, like:
the e-mail address, the subject, the message, background etc.

For instance:
to: BillGates@hotmail.com
subject: why does Windows start so awfully slow?
message: Hi Bill, Can you tell me, why Windows takes so long to start?
              Processors get faster and faster, but Windows gets slower and slower!

After this, click the "X" in the upper right corner and choose "Save".

Now comes the nice part...
- double click the concept message
- click "Send"

The e-mail is sent, even saved in "Sent messages", and even without starting Outlook!

And the nicest part... the concept is still on your desktop,
so that you can send it again later!

Further possibilities?

- Make some more copies of the concept for more often used e-mail addresses.
- Change the e-mailadress in each copy
- Give each concept the name of the person of the e-mailaddress in it
- save each concept by clicking the "X" and then choosing "Save"
- This way you create concepts for much used contacts, with the e-mail addresses in it
- It only needs to be done once, after that you can use them for many years

Double click, type subject and message, send. Ready!


P.S. Want to do it even faster? Allright:
instead of using the mouse to click "Send": press Alt E, or Control Enter (Outlook 2007)

P.P.S. You can put the list of concepts in a seperate folder,
then put a shortcut to this folder on your desktop, and keep it opened for fast access.

up

Trick 5: euro sign in Wordperfect 5.1

This is a way to make the Euro sign (copyright ruud) Wordperfect 5.1:
-move up 0,05cm (shift-f8,4,1,1 0,05)
-type the =
-move down 0,05cm (shift-f8,4,1,2 0,05)
-move left 0,14cm (shift-f8,4,1,4 0,14)
-bold (f6)
-shade (control-f8,2,6)
-control-v 10,36
-arrow right, arrow right

Explanation: this puts the Russian 'es' in the, slightly higher, = type.
          On the screen is a = and a strange sign, the printer will print an euro sign.

You can create a macro, so that you don't have to type these lines all the time.
This is the way to create the macro:
-control-f10 (this starts the creating of a macro)
-euro (the name of the macro)
-the euro sign (the discription of the macro)
-(from this point on type the above,
   to begin with: move up 0,05cm etc.
   up to and including: arrow right, arrow right)
-control-f10 (this ends the creation of the macro).

At any place in your document where you press ALT F10 simultaneously and type EURO (then enter)
the macro is executed and as a result places the euro sign.

To be clear: control-f10 is create a makro (define), alt-f10 is execute a makro.

There are more possibilities, visit the following site to find out about them and many other wp5.1 stuff.

up

Trick 6: Wordperfect 5.1 "re" installation

When Wordperfect 5.1 is on your computer, for instance in Windows 95 of 98,
and you want to reinstall Windows or install Windows 2000, then read this.

You don't have to reinstall Wordperfect 5.1.
Just copy the entire folder of WP to the new system. Ready for use!
It's the big advantage of a msdos-program.

Use Winzip or Pkzip to zip the WP51 folder to a few floppydisks
and unzip it to the new or reinstalled Windows system.

up

Trick 7: Wordperfect 5.1 in Windows 2000 with usual appearance

When you start WP51 in Windows 2000, it doesn't show as usual. Strange font. Solution:
- start WP51
- shift F1
- 2
- 3
- select IBM VGA (& compatibles)
- select 80x25 16 kleuren
- F7
- F7 ... ready!

But: if you like a black screen as background in WP51, there is this problem:
Windows 2000 looses these settings every time WP51 is shut down.
Solve this by pressing Shift F7 - 6 (view document screen).
up

Trick 8: Scandisk in ms-dos

If you want to run Scandisk in dos, for instance when your have harddisk troubles, than use these options:

scandisk c: /autofix / nosave /nosummary /surface

autofix: automatically repair errors
no save (must be used together with autofix): delete lost clusters
nosummary: skip creating undo disk
surface: automatically scan the surface for errors

This way you don't have to answer Yes or No when errors are reported,
and you can leave the computer for hours doing its job.

up

Trick 9: Control Panel and Desktop, disable options

If you want to make sure no one changes important settings in Control Panel or Desktop,
then create a new folder in windows system and move all files with the extention CPL to it.
Only move the CPL files that are in the folder windows system, of course.

This way, Control Panel will be empty and rightclicking the desktop will not bring up a menu.
If you later on move the files back from your new folder to the windows system folder
all options are available again. No restart is required.

Some cpl files explained:
appwiz.cpl = add/remove programs
desk.cpl = display (and desktop)
inetcpl.cpl = internet options
intl.cpl = regional settings
main.cpl = fonts, mouse, printers
mmsys.cpl = sounds
netcpl.cpl = network
sysdm.cpl = system

up

HANDY THINGS


key combinations
-search Ctrl F (works in many programs, like browsers, Word, Notepad etc.)
  ctrl F is the combination I use the most, worth while to learn by heart
-search in Windows: windows logo key + f
-properties: press alt and double-click the file
-open with...: click the file, press shift, right-click
-help: F1
-open or close a drive or folder and all of its subfolders: * of - (of the numeric keypad)

shortcuts
-button with shortcut to: start, settings, taskbar and start menu, programs in start menu, advanced
 is made this way:
 copy Windows Explorer, right-click it, properties, in the tab Shortcut type or change this:
 c:\windows\explorer.exe /m, /e, /root, "c:\windows\start menu"
-shortest way to this: rightclick Start button and choose Explore
-to create a shortcut to the floppy disk:
 copy Windows Explorer, right-click it, properties, in the tab Shortcut type or change this:
 c:\windows\explorer.exe /n,/e,A:\
 (change A to D or E to create shortcuts to D or E)


up

OTHER THINGS


Corel Schoolbox removal
If you own the Corel Schoolbox (nine cdroms with programs like Wordperfect, CorelDraw),
than you may run into troubles trying to remove it if your language is none English.
Remove the files SWCustEN.dll en custdbEN.dll from C:\Windows\Corel.
These files cause the uninstaller to fail.
Also don't remove more than one part of the suite at one go.
If you do it this way, Corel performs a perfect removal,
including its registry entries.

system.1st
Ever asked yourself the question, what kind of a file is System.1st ?
It's the first registry file created after installing windows98.
It's the registry of windows98 before you added any hard- en software.
You may as well delete system.1st, it's useless, for if you would use it to restore your registry
then you must reinstall all of your (32-bits) hard- and software
and then your drive is filled with old unused and new files. A mess.
With thanks to outertech.com

cheat
Age of Empires, the Rise of Rome Expansion,
in a multiplayer game WITHOUT enabling cheat:
-click villagers collection food
-choose in the Menu: Quit Game
-choose No, when asked Are you sure you want to etc.
-now you have a larger amount of stock of food.
This cheat is accidently discovered by Jan Tesselaar himself.

up