Ze Freeware.

You may NOT redistribute any of this software by any means without my express written consent.

Ze File Utilities ("DOS toys").

File Utilities Text Search Tools Text file Converters "PigLatin" : text entropy software

File Utilities

AP : APplies the command indicated in each sub-directory

Similar to SWEEP or UNIX option -S, but applicable to any command.
Sweeps all the sub-directories of the current directory, and applies the command indicated after ap on the command line in each one.
Try ap DEL *.* /Y :-).
Click here Size : 10 kB.

DelZero : Remove empty files

Recursively removes all zero-length files, in the current directory and its sub-directories.
This utility does not require an argument. Confirmation is required before each erasure, except if you supply option /a (automatic). If you change your mind after a few files, hit <Tab> and deleting will continue without further prompting.

DF : Tally each directory

Similar to UNIX command df.
Display the list of all sub-directories (first level only) of the current directory, with the total size of the files contained in each one.
This utility does not require an argument, but you can specify a starting directory if you want. Otherwise it starts from the current directory.
DF /ext provides you with the list (sorted by decreasing frequency) of the extensions of files contained in the sub-directories. This is useful when you have to know quickly what kind of files are on a large disk.
Example of result of the launching of DF d:\ /ext :
32768 bytes/cluster on D:.
D:\BELFRY  :    187 kO,   1 Ds,  212 F,   6596 kO slack, 97% waste.
D:\BIN     :   5617 kO,   1 Ds,  153 F,   3054 kO slack, 35% waste.
D:\BIN95   :    755 kO,   1 Ds,   23 F,    556 kO slack, 42% waste.
D:\C       :  78733 kO, 198 Ds, 1483 F,  37522 kO slack, 32% waste.
D:\DOCUMENT: 112821 kO,  85 Ds, 2538 F,  59338 kO slack, 34% waste.
D:\DOS     :   5723 kO,   1 Ds,  131 F,   2532 kO slack, 31% waste.
D:\RELEASE :  35921 kO,  14 Ds,  472 F,  11598 kO slack, 24% waste.
D:\SRC     : 113730 kO, 209 Ds, 5196 F, 134205 kO slack, 54% waste.
D:\TMP     :     18 kO,  13 Ds,  247 F,   7885 kO slack, 100% waste.
D:\TOOLS   :  24639 kO,  48 Ds,  542 F,  12608 kO slack, 34% waste.
D:\VRAC    :      0 kO,   1 Ds,    0 F,      0 kO slack, 0% waste.
D:\WEBTOOLS:  27491 kO,  56 Ds, 1446 F,  40476 kO slack, 60% waste.
D:\RELAUTO : 238656 kO, 414 Ds, 5249 F, 136031 kO slack, 36% waste.
D:\TEMP    :      0 kO,   1 Ds,    0 F,      0 kO slack, 0% waste.
En tout: 1125 Dossiers, 23264 Fichiers, total 1176732 kO, total slack 581795 kO.

obj:3057 exe:468 mak:378 lib:284 lnk:229 map:229 err:176 lbk:128 res:77
As you can see, DF also tells you the amount of hard disk slack space and waste in each directory. You'll wish you still didn't know. Sector size guessing is flaky (thanks for the bug in _getdiskfree, Watcom) so you may want to specify it explicitly using option /CL. Also useful to check if many small files are going to hold on a CD-ROM (sector size 2048).
Click here Size : 55 kB.

FileType : Analyses contents of a file

Displays the type of contents: DOS (OEM) text, Win (ANSI) text, Unix text or binary of the files whose name(s) are given as arguments.
Click here Size : 72 kB.

Fold : "folds" long lines

Similar to UNIX command fold.
Breaks the lines longer than 80 chars (between two words if possible) in the specified file(s), the current directory and its sub-directories. Practical for these HTML files with never-ending lines. The next version will avoid cuts made inside a tag.
Click here Size : 70 kB.

FSize : File Size Finder

Displays (with their complete path) all the files whose size is higher than the value indicated, in the current directory and its sub-directories. This helps you identify large, useless files that clutter up your hard disk.
Put a minus sign in front of the numeric value and FSize will show you all files with size an exact multiple of the value. This is useful to pinpoint truncated files after a hard disk disaster.
Click here Size : 40 kB.

HEAD : Extract first lines of a file

Similar to the UNIX command head.
Extracts the number of lines indicated from the beginning of the specified file, in the current directory and its sub-directories.
Example : HEAD * htm 10 > zz.tmp gathers the first 10 lines of each * HTM file into a single file, zz.tmp.
Click here Size : 50 kB.

NCD : 'Nother Change Directory

My good old Norton Change Directory (©1988…) choked on a disc having 15 000 directories, the weakling. Then I had to do what I do every time I want something to be done well : I rewrote it myself.

No size limit, unlike ACD (boo !). I imitated the behavior of Norton CD, in particular, if you type several times "NCD TMP", NCD will trot you through all TMP directories on the hard disk in turn. You do not remain stuck on the first one.

Also, the disk is rescanned automatically if NCD is launched from a directory created since last scanning or from its parent. And of course, I added my fabulous fuzzy search as usual, quite convenient for the mistypings which are thus "forgiven" (Norton CD only goes to the directory having the longest common beginning).

On the other hand it is not optimized (for the moment) : a large file, NCD.NCD, is placed in the root of each hard disk. It will shrink in later versions.
Soon also, indexing of CD-ROMs.
Click here Size : 50 kB.

qSORT : Sorts the lines of a file

Maximum 2 000 000 lines ! And French-style collating sequence, mind you, with the accented letters in their place and all. Cocorico ! Cock-a-doodle-doo !
This sorting program has many more options than the regular SORT command. You can sort alphabetically, or starting from a given position or from a given column, or according to a specified field (in a data file with any separator, which you must specify), among many other options.
Click here Size : 70 kB.

TAIL : Extracts last lines of a file

Similar to the UNIX command tail.
Extracts the number of lines indicated from the end of the file indicated, in the current directory and its sub-directories. Example : HEAD *.htm 10 > zz.tmp gathers the last 10 lines of each *.HTM file in a single zz.tmp file.
Click here Size : 50 kB.

Uniq : Sorts the lines of a file alphabetically, then removes duplicates

Maximum 2 000 000 lines !
Click here Size : 70 kB.

XTRACT : Extracts from a file

all that is between two markers (that you specify). For example xtract *.htm "<img" ">" will give you the list of all the images mentioned on your Web pages. Skilful use of combinations of this tool with the others enables you automatically to generate lists of references, images used, etc, and to avoid the accumulation of useless files.
You can also extract a given column from a *.csv file or any similar file with any separator.
Click here Size : 67 kB.

Text Search Tools

FFF : Fuzzy File Finder - fuzzy Search for file name

Displays (with their complete path) all the files whose name resembles the name indicated, in the current directory and its sub-directories.

Example of result of the launching of fff head :
D:\C\CTOOLS\GIMPEL\READ.ME
D:\DOCUMENT\ZPERSO\ZED.DOC
D:\NT\EXECS\HEAD.ZIP
D:\NT\EXECS\HEAD.EXE
D:\NT\FREEZIPS\HEAD.ZIP
(etc.)
D:\TOOLS\GRAPH\VIEWERS\VPIC\AHEADB.CFG
D:\WEBTOOLS\NETSCAPE\COMMUN~1\PROGRAM\NETHELP\HEADER.JS
D:\RELAUTO\REL32\RDIVRS32\HEAD32\HEAD.OBJ
D:\RELAUTO\REL32\RDIVRS32\HEAD32\HEAD32.EXE
D:\EXECS\HEAD.EXE
D:\EXECS\HEAD.EXE

Click here Size : 60 kB.

Text file Converters

New ! All conversions now use Unicode as a middle step. Now all is unified and I soon will be able to put all under the same roof, with cross conversions of and towards the 5 formats. What a luxury ! With many thanks to
Jukka Korpela, who knows everything & then some about character sets.

TXT2HTML : Text to HTML Converter

TXT2HTML transforms an ordinary text file into an * htm file, while inserting the basic markers (HEAD, TITLE, BODY, etc.) if they are not already present and by transforming the accented letters (DOS or Windows, automatically detected).

There are several formatting options :

During the first conversion :

During following conversions :

TXT2HTML detects the presence of HTML tags and will never add them twice.
It is appropriate to both Windows and DOS character sets (automatic detection).
Click here Size : 75 kB.

HTML2TXT : Normal HTML->Text converter

The reverse of the precedent : Transforms HTML file into * txt file (Windows "ISO-8859-15" character set, the one with the euro [ except that it does not work ]), by removing tags HTML and by changing the accented letters. The option /DOS creates text with the DOS character set ("Latin" "PC-8" alias "OEM").
The htm extension is implicit.
Click here Size : 75 kB.

RTF2TXT : RTF->Text (DOS character set) Converter

Transforms an RTF file into a *.txt file, removing rtf tags and changing the accented letters.
Click here Size : 75 kB.

Unix2DOS : Unix->DOS Converter

Transforms a file where the linebreak character is ASCII 10 into one with pair 13+10 with DOS. The character set is not modified.
Click here Size : 63 kB.
The reverse: Click here Size : 53 kB.

Win2DOS : Windows->DOS Converter (DOS character set)

Transforms a file where the accented letters are in the Windows style into one where those are translated into their DOS equivalents.
Click here Size : 53 kB. The reverse: Click here Size : 53 kB.

PigLatin.exe

Programme de calcul d'entropie de textes (c'est chic hein !) qui peut aussi créer du texte "à la manière de" (option /Gen). D'après une idée de Jacques GUY, publiée dans Glottometrika (Jacques Guy, "Fast high-order monkeys and a fast algorithm for calculating high-order character entropies", v12, 1990, pp. 125-130) (avec plein d'erreurs de calcul… Répare ta calculette, Jacquouille la Bidouille !). Voir aussi l'article de Robert French traduit dans "Pour la Science" (Juin 1987).
Usage: PigLatin <fichier{.txt}> {option(s)}. PigLatin ? to see the options.
Options of PigLatin.EXE:                                                [default values]
O: Ordre (1..n) Ordre N = voisinage de longueur N-1                       [6]
All: Balayer tous les ordres de 0 à (+ valeur)                       [OFF,50]
BdC: Transcrire en bas de casse (minuscules)                            [OFF]
Acc: Désaccentuer                                                       [OFF]
SL: Retirer les sauts de lignes                                          [ON]
P: Pause après l'analyse                                                [OFF]
V: bavard ou pas                                                        [OFF]
SV: Sauvegarder la table d'entropie produite                            [OFF]
LD: Charger une table d'entropie au lieu d'analyser un texte            [OFF]
Gen: Générer texte "à la manière de" (+longueur en chars)           [OFF,800]
Exemple de l'option /Gen (Générer du texte) :
ally mathematics reply that of customs oppose all always one's hair, we must not connection far as to whom we sees and in it opened people.- Curiosity in the most general will be within us. So we diseases youths indeed to study, he will tended as about a few truth. Everything stops to have in a states, or a time of find that the quarry. Hence and us but for the more occasion of it because for him; he is happily false beast sphere, although cowards rest, and body, the would be use it is only unhinge the most debauchery, in this pride; that regarding spaces which binds that person in greates his kind offend of walk stranged in this religion no limits to do not shame in that it is there ignorant." And which health cannot do so far or though lack heart. 257. The rest and this boon. On the phi.
Le texte de départ est une traduction anglaise des Pensées de Pascal.
Selon la langue du texte de départ, vous obtiendrez du latin de cuisine, du yaourt ou du bolo-bolo.
Cliquez ici. Taille : 53 kO.

Back to home page / Retour à la page d'accueil