From: Don Hawkinson

I have placed CMD_IT on my web site:
http://home.tulsaconnect.com/dwhawk/cmd_it.zip

It is a free OS/2 command line program that generates OS/2 CMD files.

The program expects the command line to contain the file name for the CMD file and one or more files to be operated on by the generated CMD file.

The program will then prompt the user for the CMD file instructions. The instructions may contain up to 6 commands that use the filenames.

The commands are entered on one line with @ representing a new line and %s representing the filename.

Here is a sample command line.

CMD_IT XXX.CMD C*.C

The following entered when prompted will generate the CMD file shown below.

djprint %s@zip -g junk.zip %s@copy %s p:ackup

The first line of the generated CMD file is a comment that shows the name of the CMD file and the path to CMD_IT. The second line is the number of files that the CMD file operates on. The third line is a plug for my web site.


/* xxx.cmd generated by F:DRDOSTCCMD_IT.EXE*/
/* 6*/
/* see http://www.dwhawkinson.com for my other programs. */
djprint CMD_IT.C
zip -g junk.zip CMD_IT.C
copy CMD_IT.C p:ackup
djprint CUT.C
zip -g junk.zip CUT.C
copy CUT.C p:ackup
djprint c_copy.c
zip -g junk.zip c_copy.c
copy c_copy.c p:ackup
djprint C_DEL.C
zip -g junk.zip C_DEL.C
copy C_DEL.C p:ackup

Source: OS2VOICE

OS/2-eCS-ArcaOS General News

More in General  

OS/2-eCS-ArcaOS Software News

More in Software  

Latest Forum Posts

WarpStock and OS/2-eCS-ArcaOS Event News

Site News

More in Site News