Dec 102017
Translates DOS batch files to UNIX csh scripts.
File BATCSH11.ZIP from The Programmer’s Corner in
Category Recently Uploaded Files
Translates DOS batch files to UNIX csh scripts.
File Name File Size Zip Size Zip Type
BAT2CSH.EXE 18762 10378 deflated
BAT2CSH.L 18674 4293 deflated
BAT2CSH.MAN 1779 813 deflated
LEXYY.C 60217 14042 deflated
MAKEFILE 782 411 deflated
MANIFEST 456 291 deflated
README 1550 840 deflated
STDC.H 341 106 deflated

Download File BATCSH11.ZIP Here

Contents of the README file

BAT2CSH, Version 1.10, Release May 23, 1995

BAT2CSH is a filter program that translates DOS batch files to UNIX C shell
scripts. It reads from standard input and writes to standard output.

1. You should have all the files listed in the MANIFEST file.
2. Copy BAT2CSH.EXE to a directory on your path.
3. Copy BAT2CSH.MAN to a directory where you keep your documentation,
or print it for reference.

Source Code
Complete source code for BAT2CSH is provided. To recompile, you will
need LEX and a C compiler. I used FLEX 2.5.1 and Borland C 3.1. The
MAKEFILE is set up for this combination.

FLEX 2.5.1 was obtained via anonymous ftp from
(, directory SimTel/msdos/gnuish, file

The FLEX output is in lexyy.c. If you don't have FLEX and don't want
to get it, you can make minor changes to this file and recompile.
Usually it is better to use FLEX and make changes directly to bat2csh.l.

Unlimited/Public Domain. As a professional courtesy, please reference
the original source in any derived work.

This software is provided "AS IS" and without any express or implied
warranties, including, without limitation, the implied warranties of
merchantability and fitness for a particular purpose.

Can be reached over the Internet at:

[email protected]
[email protected]

 December 10, 2017  Add comments

Leave a Reply