TAG


A command line tool I've been looking for with no avail. Tag files at will and they will be placed (CR/LF-delimited) in a dedicated tag file. This file can be used with other TAG-commands (separate EXEs) to copy, move or delete the tagged files. The file can also be used with PkZip or a similiar archive utility. So far, the complete package isn't available, but it's under development and will be released bit by bit. The package will, when done, contain about 10 small programs.


Programs included in the package
Returned error codes
Version history
Downloading updates


Programs included in the package

I haven't completely made up my mind on this one, but these programs will probably be included:

The names will be abbreviated to mostly four characters (RTAG, CTAG, MTAG and so on).


TAG

Tags files by placing the filename with complete path in a CR/LF-delimited text file. The tag file location and name is determined by the value of the TAG enviroment variable, but can optionally be specified with the /T switch.

Syntax:

TAG.EXE <files> [<switches>]

Parameters may come in any order on the command line.

Table 1: Parameters to use with TAG
/BW Disables color display
/F Lists all files that are tagged, one per line.
/I Displays status when done, how many files that were tagged and if any files matching the file mask(s) already were tagged.
/T<file> Uses another tag file than the default.


Returned error codes

Unique error codes are returned for most errors in the TAG suite. They can be used in BAT files for automation purposes.

Table 2: Returned error codes
0 No errors.
1 No files were found matching the file mask(s) specified at the command line.
2 An invalid parameter was passed to the program.
3 No file mask was given at the command line.
4 An error occured when retreiving the tagged files.
5 An error occured when writing the tagged files to disk.
6 An error occured while copying the files.
7 Not enough free space was available on the target drive.

Version history

0.11 (June 19th 1996)

  • copyTAG added.
  • Major bug fixes in both TAG and unTAG.

0.10 (June 12th 1996)

This first release included TAG, unTAG and emptyTAG.


Downloading updates

Currently, TAG is only available as a very ealy alpha. Only TAG, unTAG, copyTAG and emptyTAG are included. Feedback would be appreciated.


Return to Bäck's Homepage

This page is maintained by Magnus Bäck
Updated June 19th 1996 at 23.30 CET