1
2                                   ccrypt
3
4   Secure encryption and decryption of files and streams
5     _________________________________________________________________
6
7This file contains instructions specific to the Windows distribution
8of ccrypt. Please see README and the man page for general information
9on usage etc.
10
11USAGE for Windows:
12==================
13
14Please note that ccrypt is a *command line* program. It can only be
15run from the DOS prompt or from a shell. It is not the kind of program
16you run by double-clicking.
17
18INSTALLATION for Windows:
19=========================
20
21Download the file ccrypt-XXX.cygwin-x86.zip, and unpack it using your
22favorite tool. Often, double-clicking on the archive will allow you to
23extract the contents.
24
25The windows distribution includes an executable file ccrypt.exe, and a
26dynamically linked library cygwin1.dll.  You need to put both
27ccrypt.exe and cygwin1.dll in a place where Windows can find them. One
28such place is C:\Windows.
29
30If you already have a different version of cygwin installed, you
31cannot use this binary unless you up/downgrade to the version of
32cygwin that comes with the ccrypt distribution. However, there should be
33no problem re-compiling ccrypt under your version of cygwin.
34
35The default executable file is called ccrypt.exe. You should also
36create files ccencrypt.exe, ccdecrypt.exe, and ccat.exe in the same
37directory. These files are identical to ccrypt.exe, but when ccrypt is
38invoked by one of these filenames, its default behavior changes. Under
39Windows, the most fool-proof solution is to make four copies of
40ccrypt.exe and rename them appropriately.
41
42RUNNING:
43==================================================
44
45For non-Windows specific usage information, see the file README.
46
47Ccrypt on Windows runs in much the same way as under Linux and other
48Unix-like operating systems, due to the amazing magic of cygwin
49(http://sources.redhat.com/cygwin/), which simulates a Unix
50environment under Windows.
51
52Note on wildcards: The following command line does not work as
53expected under Windows:
54
55 ccrypt h:\data\*.*
56
57However, each of the following two commands will work as it should:
58
59 ccrypt h:\data\file.txt
60
61 ccrypt h:/data/*.*
62
63I am not sure what causes this behavior. Apparently an inconsistency
64between backslash conversion and wildcard expansion.
65