From owner-freebsd-newbies@FreeBSD.ORG Fri Dec 31 00:36:42 2004 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 19A2716A4D3 for ; Fri, 31 Dec 2004 00:36:42 +0000 (GMT) Received: from alpha.it.teithe.gr (alpha.it.teithe.gr [195.251.240.232]) by mx1.FreeBSD.org (Postfix) with ESMTP id 655C043D39 for ; Fri, 31 Dec 2004 00:36:36 +0000 (GMT) (envelope-from pstal@it.teithe.gr) Received: from [192.168.69.242] (ppp42-ax.noc.teithe.gr [195.251.120.42]) by alpha.it.teithe.gr (8.12.10/8.12.10) with ESMTP id iBV0aQTS009495; Fri, 31 Dec 2004 02:36:27 +0200 (EET) Message-ID: <41D49F0F.6010003@it.teithe.gr> Date: Fri, 31 Dec 2004 02:36:31 +0200 From: P Stalidis User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jeff Lewis References: <732FB0DF.419212DD.0F75C5EC@netscape.net> In-Reply-To: <732FB0DF.419212DD.0F75C5EC@netscape.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-newbies@freebsd.org Subject: Re: Batch Translation X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Dec 2004 00:36:42 -0000 Jeff Lewis wrote: >I always suspected that MSDOS Batch files were the smallest of subsets of [insert favorite shell here]. Bit it's all I know well. > >Does anyone know of a web page that translates MSDOS batch file commands to [insert favorite shell here]? > >Jeff > >PS - I'm liking BASH. > >__________________________________________________________________ > > > I remember 5 or 6 years ago a friend of mine had made himself csh scripts with MS-DOS names and syntax that would do the same thing as in dos. He then put them in a folder and added it in his path. So whenever he wrote something that would be correct for MS-DOS command.com his unix system would run it... The bad thing is that I have lost touch with him.... but you can do that yourself and I suppose that your old MS-DOS scripts will be available again. Of course you will learn how to make bash or csh or sh or zsh or whatever shell scripts in the proccess and probably the consumed time will be greater than to write all your dos scripts again.