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
The names will be abbreviated to mostly four characters (RTAG, CTAG, MTAG and so on).
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.
TAG.EXE <files> [<switches>]
Parameters may come in any order on the command line.
/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. |
Unique error codes are returned for most errors in the TAG suite. They can be used in BAT files for automation purposes.
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. |
This first release included TAG, unTAG and emptyTAG.
Currently, TAG is only available as a very ealy alpha. Only TAG, unTAG, copyTAG and emptyTAG are included. Feedback would be appreciated.
This page is maintained by Magnus Bäck
Updated June 19th 1996 at 23.30 CET