University of Vaasa, Finland, Linux Pentium, node number 193.166.120.5 (garbo.uwasa.fi) has a large collection of shareware, freeware and public domain programs which are available by anonymous ftp (file transfer program) and WWW (World Wide Web). This information file ftp://garbo.uwasa.fi/pc/ts/0news-ts contains news about the programs in the /pc/ts directory (in reverse order). .................................................................... Prof. Timo Salmi Co-moderator of news:comp.archives.msdos.announce Moderating at ftp:// & http://garbo.uwasa.fi/ archives 193.166.120.5 Department of Accounting and Business Finance ; University of Vaasa mailto:ts@uwasa.fi ; FIN-65101, Finland Spam foiling in effect. My email filter autoresponder will return a required email password to users not yet in the privileges database. .................................................................... N e w s o f 2 0 0 1 Mon 5-Nov-2001: I have once again added new items to my consequently updated 201725 Nov 5 2001 ftp://garbo.uwasa.fi/pc/ts/tsbat70.zip tsbat70.zip A collection of useful batch files and tricks, T.Salmi 118) How to put the content of text file into a variable? 119) How do I get the three oldest and latest files of a directory? 120) Hint: Displaying an ASCII (hex) value table 121) How to make %0 include the full path of the called batch file? 122) How can I test if a file is dated less than hour ago? As usual, there are some more solutions to the already existing items, as well. E.g. Changed the item 95) How can I test for a zero byte file? to be 95) How can I test for a zero byte file? Or against a larger size? Thu 25-Oct-2001: I have updated my batch tips collection to now be 197262 Oct 25 2001 ftp://garbo.uwasa.fi/pc/ts/tsbat69.zip tsbat69.zip A collection of useful batch files and tricks Added more solution versions to a considerable number of the old items in the principal file 1BATFAQ.TXT "Assorted batch tricks and tips". In some cases several. The size of the tips file has grown nearly 30 kilobytes in this rendition. The additions are much due to echon.exe, cut.exe, sed.exe, gawk.exe and fn.exe based new solutions. But nothing previous has been withdrawn. The item 99) Is it possible to echo without linefeed like the Unix echo -n? gives the Turbo Pascal source code for the task. Included a compiled ECHON.EXE into the updated package for those gentle readers who do not have and do not wish to search the web for the TP compiler. Added the reference only items 113) What is difference between MS-DOS and various Windows batches? 114) Is it possible to display comments from the config.sys file? Added also the items 115) Can I split a single command over multiple lines in a batch? 116) How can I get yesterday's date into an environment variable? 117) How do I get the 3rd word from the 5th line of a text file? Tue 23-Oct-2001: I have updated my WHATDATE.EXE "Date +- number of days from now" to make it useful also for batch enhancement. The result can now optionally (a new switch /e) be directed to an environment variable whatdate_. It is included in the consequently upgraded package 111711 Oct 23 2001 ftp://garbo.uwasa.fi/pc/ts/tsutlc26.zip tsutlc26.zip Timo's 3rd utility set (dirf,dirinfo,doubles,hidden,split,...) Sat 13-Oct-2001: I have updated my FN.EXE FuNction evaluator to make it useful also for batch enhancement. The results of a calculation can now optionally (a new switch /e) be directed to an environment variable fn_. It is included in the consequently upgraded package 77497 Oct 13 2001 ftp://garbo.uwasa.fi/pc/ts/tsfunc17.zip tsfunc17.zip Calculates, tabulates, and plots your functions, T.Salmi A simple demo example of the new batch usage: @echo off set number_=145 echo number_=%number_% fn /e %number_%+1 0 > nul set number_=%fn_% echo number_=%number_% set number_= Mon 1-Oct-2001: Wrote CURSIZE.EXE Nonresident cursor size adjuster to adjust the size of the cursor or turn it off. It is part part of the hence updated 36284 Oct 1 13:17 ftp://garbo.uwasa.fi/pc/ts/tsutlg12.zip tsutlg12.zip Timo's 7th utility set (backgrnd,backdemo,cursize,samesize) Sat 29-Sep-2001: Updated my 187202 Sep 29 2001 ftp://garbo.uwasa.fi/pc/ts/tsbat68.zip tsbat68.zip A collection of useful batch files and tricks, T.Salmi Added the new items 110) Is it possible to delete lines by their line numbers only? 111) How can I tell what drive has been allocated by ramdrive.sys? 112) How can in insert a line in the middle of a file with a batch? Inserted a GAWK based alternative solutions to the items 3) Is it possible to nest for loops in batch files? 39) How can I extract the file basename? 75) How can I rename all files sequentially in a directory? 93) How do I add +1 to a variable in a batch? Added a SED based solution alternative to the item 38) Is it possible to echo the redirection symbol in a batch? Added another solution alternative to 106) How do I get the last drive into an environment variable? The file is from now also available also without the version number as ftp://garbo.uwasa.fi/pc/link/tsbat.zip for easier permanent reference. Mon 13-Aug-2001: I have made an update 479528 Aug 13 2001 ftp://garbo.uwasa.fi/pc/ts/tsgifs19.zip tsgifs19.zip Timo's free collection of 967 GIF thumbnails for WWW Alternatively: http://www.uwasa.fi/~ts/gifst/gifst.html Thu 8-Mar-2001: Updated my batch tips collection to now be 184193 Mar 8 2001 ftp://garbo.uwasa.fi/pc/ts/tsbat67.zip tsbat67.zip A collection of useful batch files and tricks, T.Salmi Added a few alternative options and tricks to the old items and prepared the new items 105) How can I determine if ANSI.SYS is loaded? 106) How do I get the last drive into an environment variable? 107) How can I calculate the number of lines in a file? 108) Is it possible to save and later restore the command history? 109) Is it possible to change just one line of a file with a batch? Tue 13-Feb-2001: I have made an update 179852 Feb 13 2001 ftp://garbo.uwasa.fi/pc/ts/tsbat66.zip tsbat66.zip A collection of useful batch files and tricks, T.Salmi I have added alternative solutions to a few of the old ones. Mostly G(nu)AWK-based. I have also added the following new items 103) How do I find the largest numeric extension and add +1 to it? 104) How do I run the latest executable from the default directory? Wed 24-Jan-2001: I have again updated my FAQ-like collection of MS-DOS batch tips and trick. It now is 176964 Jan 24 2001 ftp://garbo.uwasa.fi/pc/ts/tsbat65.zip tsbat65.zip A collection of useful batch files and tricks, T.Salmi Added 100) How can I detect the F1-F10 function keys in a batch? 101) How can I get the free size and total size of a drive? 102) How can I search for a string through a directory of files? Also added alternative solutions to some of the old items. Wed 24-Jan-2001: Run for cover, all you drowsy folks. I have released on the scampering news:rec.humor readership an update 48746 Jan 24 2001 ftp://garbo.uwasa.fi/pc/ts/tspun22.zip tspun22.zip Timo's nauseating groaners (a collection of puns). : All the best, Timo (aka Perfesser Pundit in news:rec.humor) Wed 10-Jan-2001: Updated my FAQ-like MS-DOS batches tips collection to be 172660 Jan 10 2001 ftp://garbo.uwasa.fi/pc/ts/tsbat64.zip tsbat64.zip A collection of useful batch files and tricks, T.Salmi Added a QBASIC alternative to the items 59) How get today's date into a six-character environment variable? 63) How can I extract the drive letter from a full file path? 83) Y2K: My old BIOS gives a wrong year at boot. How can I fix it? 95) How can I test for a zero byte file? Added the items 98) How to read a file's attributes into environment variables? 99) Is it possible to echo without linefeed like the Unix echo -n? Tue 9-Jan-2001: The older news about the files in the /pc/ts directory are available as : ftp://garbo.uwasa.fi/pc/ts/0news60.ts The news announcements of 2000 about ts-programs, T.Salmi : and so on, backwards.