🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #961

Re: A batch programming contest for you

#961
From: Jeff Epler
Date: Tue, 18 Aug 1992 16:26
24 lines
1647 bytes
In a previous article, ts@uwasa.fi (Timo Salmi) says:

>I have a puzzle for you gentle fellow programmers who are interested
>in batch programming. The task is the following.  With the standard
>batch commands write a batch that returns the extension of the
>(file) name given to the batch as the parameter (%1). No external
>commands or programs are allowed to perform the task.
>
>Please post your potential suggestions and solutions in here for
>everyone to see. 

Let me start off by saying that I have no idea how to do that.

But *why* would you want to put yourself through the pain and agony of
doing such a thing, when if you but 4DOS you can just say %@ext[%1] and
be done with it...

Thirdly, I'd still love to see how it's done...

-- 
|Jeff Epler               Additions Welcome           c(-8 ;-) >{8-) |
| :) (=( =-] (-= Celebrating the variety of faces =-> :^) {-= |-) (: |
|                                                   Lincoln, Nebraska|
Technical Details
Message-ID: <1992Aug18.162657.27453@usenet.ins.cwru.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!cis.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!cleveland.Freenet.Edu!bx304
References: <1992Aug18.052017.3758@uwasa.fi>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!cis.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!cleveland.Freenet.Edu!bx304
From: bx304@cleveland.Freenet.Edu (Jeff Epler)
Subject: Re: A batch programming contest for you
Message-ID: <1992Aug18.162657.27453@usenet.ins.cwru.edu>
Sender: news@usenet.ins.cwru.edu
Nntp-Posting-Host: slc8.ins.cwru.edu
Reply-To: bx304@cleveland.Freenet.Edu (Jeff Epler)
Organization: Case Western Reserve University, Cleveland, Ohio, (USA)
References: <1992Aug18.052017.3758@uwasa.fi>  
Date: Tue, 18 Aug 92 16:26:57 GMT
Lines:       25