High quality Microsoft Windows command line tools
These tools are high quality freeware for MS Windows written with Thompson AWK (TAWK Version 6) and Delphi XE 7 by Markus Gnam. They are native Windows exe files and do not contain any adware or spyware or change the Windows registry. These portable tools were very carefully conceived and tested. However, there is no warranty of any kind by the author e.g. for accidentally deleted files or other misfortunes.
To access the command prompt using the Run window press the Win + R keys on your keyboard. Then, type cmd and press Enter or click/tap OK.
To access the command prompt using the Run window press the Win + R keys on your keyboard. Then, type cmd and press Enter or click/tap OK.
listcompare
listcompare.exe - Compare two lists based on a key
(c) Markus Gnam 2024. Version 3.5.2.8 20240401
USAGE: listcompare <file1> <file2> [options]
Compare two files based on a key given for each file. They don't need to be sorted. There is no size limit.
Defaults, if no options are specified:
Key for comparisons for both files is the first field. Default field separator is white space (spaces/tabs).
Result output (if keys for these files exist):
key in both files => File: file1_and_file2.txt
key only in file1 => File: only_in_file1.txt
key only in file2 => File: only_in_file2.txt
For additional output of the value files use "-v". Value files contain the whole line where the key occurs.
Value files are interesting if the files contain more than one field.
Value files (if requested and if results exist):
key in both files => File: file1_and_file2_values_file1.txt and file1_and_file2_values_file2.txt
key only in file1 => File: only_in_file1_values.txt
key only in file2 => File: only_in_file2_values.txt
Use "-a" to compare CSV files on field level based on the key. All fields with same name are compared.
For all options type "listcompare --help" or for more details see the attached manual listcompare_readme.pdf.
NOTE: There is a GUI wrapper listcompareGI.exe for using listcompare without the command line.
(c) Markus Gnam 2024. Version 3.5.2.8 20240401
USAGE: listcompare <file1> <file2> [options]
Compare two files based on a key given for each file. They don't need to be sorted. There is no size limit.
Defaults, if no options are specified:
Key for comparisons for both files is the first field. Default field separator is white space (spaces/tabs).
Result output (if keys for these files exist):
key in both files => File: file1_and_file2.txt
key only in file1 => File: only_in_file1.txt
key only in file2 => File: only_in_file2.txt
For additional output of the value files use "-v". Value files contain the whole line where the key occurs.
Value files are interesting if the files contain more than one field.
Value files (if requested and if results exist):
key in both files => File: file1_and_file2_values_file1.txt and file1_and_file2_values_file2.txt
key only in file1 => File: only_in_file1_values.txt
key only in file2 => File: only_in_file2_values.txt
Use "-a" to compare CSV files on field level based on the key. All fields with same name are compared.
For all options type "listcompare --help" or for more details see the attached manual listcompare_readme.pdf.
NOTE: There is a GUI wrapper listcompareGI.exe for using listcompare without the command line.
|
|
CSVdelim
CSVdelim.exe - Change CSV file delimiter MS Windows cmd tool
(c) Markus Gnam 2023. Version 1.0.4.0 20231004
USAGE: CSVdelim [options] <file>
Change an input field delimiter to an output field delimiter according to CSV rules (quoted with double quotes if needed).
The input file has to comply with CSV rules. The output file is formatted according to CSV rules.
E.g. change ; (semicolon) to , (comma) with output file ending .csv:
CSVdelim --from=; --to=, inputfile.ssv => inputfile.csv
The Quote char sign (for in and out) is double quote. The default for tab separated files is to use no quotes.
For all options and more details type "CSVdelim --help" or see the attached help file csvdelim_readme.pdf.
(c) Markus Gnam 2023. Version 1.0.4.0 20231004
USAGE: CSVdelim [options] <file>
Change an input field delimiter to an output field delimiter according to CSV rules (quoted with double quotes if needed).
The input file has to comply with CSV rules. The output file is formatted according to CSV rules.
E.g. change ; (semicolon) to , (comma) with output file ending .csv:
CSVdelim --from=; --to=, inputfile.ssv => inputfile.csv
The Quote char sign (for in and out) is double quote. The default for tab separated files is to use no quotes.
For all options and more details type "CSVdelim --help" or see the attached help file csvdelim_readme.pdf.
|
|
MGsort
MGsort.exe - Sort a text file
(c) Markus Gnam 2020. Version 1.0.4.5 20200103
USAGE: MGsort [sort field] ... [option] ... <input file> <output file>
SIMPLEST CALL, SORTING THE WHOLE LINE: MGsort <input file> <output file>
Default sort order is alpabetic sorting using ASCII collating sequence.
This is a stable sort and there is no memory limit for the size of the input file.
For all options and more details type "MGsort" or see the attached help file mgsort_readme.pdf
(c) Markus Gnam 2020. Version 1.0.4.5 20200103
USAGE: MGsort [sort field] ... [option] ... <input file> <output file>
SIMPLEST CALL, SORTING THE WHOLE LINE: MGsort <input file> <output file>
Default sort order is alpabetic sorting using ASCII collating sequence.
This is a stable sort and there is no memory limit for the size of the input file.
For all options and more details type "MGsort" or see the attached help file mgsort_readme.pdf
|
|
MGconvert
MGconvert.exe - Simple MS Windows CMD line tool
Converts a text file to an encoding or code page
(c) Markus Gnam 2019. Version 1.0.6.0 20191130
USAGE: MGconvert <input file> <from> <to> [out]
Output file name is the input file name + .<to>
If an [out] name is given this is used instead.
Allowed values for <from> and <to>:
UTF-8 or UTF8
UTF-8BOM or UTF8BOM
UTF-16LE or UTF16LE or UNICODE
UTF-16BE or UTF16BE or BIGENDIANUNICODE
UTF-32LE or UTF32LE
UTF-32BE or UTF32BE
OEM or CP_OEMCP
ANSI or CP_ACP
LATIN-1 or ISO-8859-1 or 28591
CP437 or 437
CP850 or 850
CP1252 or 1252
... or any other valid code page ...
Converts a text file to an encoding or code page
(c) Markus Gnam 2019. Version 1.0.6.0 20191130
USAGE: MGconvert <input file> <from> <to> [out]
Output file name is the input file name + .<to>
If an [out] name is given this is used instead.
Allowed values for <from> and <to>:
UTF-8 or UTF8
UTF-8BOM or UTF8BOM
UTF-16LE or UTF16LE or UNICODE
UTF-16BE or UTF16BE or BIGENDIANUNICODE
UTF-32LE or UTF32LE
UTF-32BE or UTF32BE
OEM or CP_OEMCP
ANSI or CP_ACP
LATIN-1 or ISO-8859-1 or 28591
CP437 or 437
CP850 or 850
CP1252 or 1252
... or any other valid code page ...
|
|
If you want to contact the author please have a look at the file "history.txt" inside the corresponding zip file.