Batch Translation

Jeff Lewis jlewis1957 at netscape.net
Fri Dec 31 13:24:55 PST 2004


P Stalidis <pstal at it.teithe.gr> wrote:

>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.

That's kind of like running bash scripts on my XP box using CygWin.
Actually, I'm looking for something more like this:

DOS                                BSD
------------------------------     ------------------------------
List the directory contents 
  dir                              ls
  dir /s (include subdirectories)  ls -R  (lists recursively)


Just an idea.

Jeff

__________________________________________________________________
Switch to Netscape Internet Service.
As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register

Netscape. Just the Net You Need.

New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp


More information about the freebsd-newbies mailing list