home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.msdos.programmer
- Path: sparky!uunet!mcsun!news.funet.fi!uwasa.fi!ts
- From: ts@uwasa.fi (Timo Salmi)
- Subject: A batch programming contest for you
- Message-ID: <1992Aug18.052017.3758@uwasa.fi>
- Organization: University of Vaasa, Finland
- Date: Tue, 18 Aug 1992 05:20:17 GMT
- Lines: 27
-
- As you might know I have a large collection of batch files and
- tricks garbo.uwasa.fi:/pc/ts/tsbat36.zip. I am always looking for
- useful new information for it.
-
- 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 note that this is not because I would need the solution. I
- already have devised one working solution myself (it has 14 lines
- the actuial testing part taking 7 up). I'll be including it to the
- next version of TSBAT. But I thought we could for a change try a
- programming contest just for everyone's enjoyment. And who knows
- what useful batch programming ideas might pop up in the process.
-
- Please post your potential suggestions and solutions in here for
- everyone to see.
-
- All the best, Timo
-
- ..................................................................
- Prof. Timo Salmi
- Moderating at garbo.uwasa.fi anonymous FTP archives 128.214.87.1
- Faculty of Accounting & Industrial Management; University of Vaasa
- Internet: ts@uwasa.fi Bitnet: salmi@finfun ; SF-65101, Finland
-