home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / msdos / programm / 8591 < prev    next >
Encoding:
Text File  |  1992-08-17  |  1.5 KB  |  37 lines

  1. Newsgroups: comp.os.msdos.programmer
  2. Path: sparky!uunet!mcsun!news.funet.fi!uwasa.fi!ts
  3. From: ts@uwasa.fi (Timo Salmi)
  4. Subject: A batch programming contest for you
  5. Message-ID: <1992Aug18.052017.3758@uwasa.fi>
  6. Organization: University of Vaasa, Finland
  7. Date: Tue, 18 Aug 1992 05:20:17 GMT
  8. Lines: 27
  9.  
  10. As you might know I have a large collection of batch files and
  11. tricks garbo.uwasa.fi:/pc/ts/tsbat36.zip. I am always looking for
  12. useful new information for it.
  13.  
  14. I have a puzzle for you gentle fellow programmers who are interested
  15. in batch programming. The task is the following.  With the standard
  16. batch commands write a batch that returns the extension of the
  17. (file) name given to the batch as the parameter (%1). No external
  18. commands or programs are allowed to perform the task.
  19.  
  20. Please note that this is not because I would need the solution. I
  21. already have devised one working solution myself (it has 14 lines
  22. the actuial testing part taking 7 up). I'll be including it to the
  23. next version of TSBAT. But I thought we could for a change try a
  24. programming contest just for everyone's enjoyment. And who knows
  25. what useful batch programming ideas might pop up in the process.
  26.  
  27. Please post your potential suggestions and solutions in here for
  28. everyone to see. 
  29.  
  30.    All the best, Timo
  31.  
  32. ..................................................................
  33. Prof. Timo Salmi
  34. Moderating at garbo.uwasa.fi anonymous FTP archives 128.214.87.1
  35. Faculty of Accounting & Industrial Management; University of Vaasa
  36. Internet: ts@uwasa.fi Bitnet: salmi@finfun   ; SF-65101, Finland
  37.