topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday March 28, 2024, 7:31 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: batch programs and stuff  (Read 6594 times)

AbteriX

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 1,149
    • View Profile
    • Donate to Member
batch programs and stuff
« on: February 20, 2006, 05:42 AM »
Talking about batch
i'd like to bring PCMags "Batchman" back to mind.

Batchman.- Multi-function batch program.

Old (1989) but packs 48 batch functions into a single 6K program.
Author: Michael Medford for PC Mag (1989).

e.g.
- CECHO [C] [nn,]stringĀ  nn=color;C=no CR
- SETLOOP nĀ  n=loops (0-255)
- WAITTIL hh:mm[:ss]
- WAITFOR [mm:]ss
- year day hour ...
- GETKEY ['string' n]
...

Could be found e.g. within an "vol9n02.zip"  (59K) (or ask me)
--
Edit:
Oho, it's on rjbull's filegate list too: http://www.filegate....et/bfds/batman10.zip  :Thmbsup:
« Last Edit: February 20, 2006, 05:46 AM by Stefan »

rjbull

  • Charter Member
  • Joined in 2005
  • ***
  • default avatar
  • Posts: 3,199
    • View Profile
    • Donate to Member
batch programs and stuff
« Reply #1 on: February 20, 2006, 09:00 AM »
Talking about batch
Batchman.- Multi-function batch program.

Old (1989) but packs 48 batch functions into a single 6K program.

Stephan,

Two more small but powerful multi-function multi-purpose utilities, both shareware;

Bob Stephan's GET   http://www.redshift....bstephan/bs01000.htm
Should also be on BFDS link above.  Very early versions of GET were public domain.  Later ones, with 3.5 being the last, were free for personal use (and still do plenty); the last few are all-payware.

PocketD - author site seems to have gone, here's a link for a description and download link
http://www.digibuy.c...uct.html?93930276892


brotherS

  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,260
    • View Profile
    • Donate to Member
Re: batch programs and stuff
« Reply #2 on: February 20, 2006, 09:21 AM »
Hi Stefan,

please post a mini-review about that one, list all the features there and edit your last post to link to your new mini-review. Sounds like something many might be interested in!

@rjbull: His name is Stefan :)

rjbull

  • Charter Member
  • Joined in 2005
  • ***
  • default avatar
  • Posts: 3,199
    • View Profile
    • Donate to Member
Re: batch programs and stuff
« Reply #3 on: February 20, 2006, 11:14 AM »
@rjbull: His name is Stefan :)

Apologies to Stefan.

I just mentioned Bob Stephan, author of GET.  That really is Bob's surname.  At my age, maybe you should expect neuronal crosstalk...  :(

PD version of GET:

  GET -- Bob Stephan's Batch file enhancer -- a public domain utility
         Syntax:  GET command argument
Purpose             Command       Argument   Environment Errorlevel  Extended
---------           -------       --------   --(GET=)--- --(Exit)--  --[E]---
Get character       C[E] ["prompt"] [chars]  Character   ASCII dec.  No Echo
Get yes/no aNswer   N[E] ["prompt"]  None    Character   ASCII dec.  No Echo
Get string          S[E] ["prompt"]  None    String      Length      No Echo
Moving Text(GetaKey)T[E] "Filespec" [chars]  Character   ASCII dec.  No Echo
Get DOS version     D[E]             None    Major Vers. MajorMinor  MinorEnv
Get environment left    E[E]         None    Bytes left  Bytes left  Bytes/10
Get file size (DIR=0)   F[E]  Filespec       Hex bytes   Kilobytes   Kb/10
Get disk space          K[E] [driveletter]   Kilobytes   Kilobytes   Kb/10
Get memory free         M[E]         None    Kilobytes   Kilobytes   Kb/10
Clear (Blank) Screen    B[E] [New attribute] Current or last attr.   HexAttr
Check for printer(PRN)  P[E]         None    1=yes,0=no  1=yes,0=no  Initialize
Get/set video mode      V   [New mode]       Current or last mode    None
Check coprocessor       7            None    1=yes,0=no  1=yes,0=no  None
Check for ANSI.SYS      A            None    1=yes,0=no  1=yes,0=no  None
Get current directory   Y[E]         None    Directory   Level/Drive Drive
 Surrogate [char] args: } is Carriage Return, ~ is Escape, ` for Extended Keys.


Version 2.8 needs three pages of online help screens.




Edvard

  • Coding Snacks Author
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 3,017
    • View Profile
    • Donate to Member
Re: batch programs and stuff
« Reply #4 on: February 20, 2006, 11:37 AM »
Personally, I have used Rob Van der Woude's scripting pages as a reference for some time now. I also dabbled with PowerBatch (no longer available, quite old) that promised to make batch files into .exe's but I never got it to work. I'll look into these others you mention, as NT's batch language is quite different from even 95 and 98's.

rjbull

  • Charter Member
  • Joined in 2005
  • ***
  • default avatar
  • Posts: 3,199
    • View Profile
    • Donate to Member
Re: batch programs and stuff
« Reply #5 on: February 21, 2006, 03:59 AM »
Personally, I have used Rob Van der Woude's scripting pages as a reference for some time now.

That's a good one.

I also dabbled with PowerBatch (no longer available, quite old) that promised to make batch files into .exe's but I never got it to work.

There were others, like Extended Batch Language (EBL), BatLite, and FromBAT, but I suspect most of them have gone during the rise of Windows.  Some people had reasonable success with PC Magazine's Bat2Exe, BAT2EX15.ZIP.  I always found I had too many external programs to make these very useful.

I'll look into these others you mention, as NT's batch language is quite different from even 95 and 98's.

Also take a look at Acme Software (now Swanson Software) batch file reference for Windows 2000 and XP at  http://www.acmesoffw...erence_BatchFile.asp