RE: The Expect Functionality in Windows

  • From: "Lloyd Rasmussen" <lras@xxxxxxxxxxx>
  • To: <programmingblind@xxxxxxxxxxxxx>
  • Date: Thu, 30 Apr 2009 19:21:05 -0400

I am sure you could run Expect or Cron in Cygwin.  But perhaps you don't
need to.  In Windows XP Media Center Edition, at the command prompt, I have
the AT command.  Here is the brief help info for AT, obtained by doing 
  At -? >at-info.txt

The AT command schedules commands and programs to run on a computer at      
a specified time and date. The Schedule service must be running to use      
the AT command.
                                                           
AT [\\computername] [ [id] [/DELETE] | /DELETE [/YES]]                    
AT [\\computername] time [/INTERACTIVE]
    [ /EVERY:date[,...] | /NEXT:date[,...]] "command"

\\computername     Specifies a remote computer. Commands are scheduled on
the              local computer if this parameter is omitted.             
id                 Is an identification number assigned to a scheduled      
                   command.                                                 
/delete            Cancels a scheduled command. If id is omitted, all the
                   scheduled commands on the computer are canceled.
/yes               Used with cancel all jobs command when no further
                   confirmation is desired.
time               Specifies the time when command is to run.
/interactive       Allows the job to interact with the desktop of the user

                   who is logged on at the time the job runs.
/every:date[,...]  Runs the command on each specified day(s) of the week or
                   month. If date is omitted, the current day of the month
                   is assumed.                                              
/next:date[,...]   Runs the specified command on the next occurrence of the
                   day (for example, next Thursday).  If date is omitted,
the
                   current day of the month is assumed.
"command"          Is the Windows NT command, or batch program to be run.


Lloyd Rasmussen, Kensington, Maryland
Home:  http://lras.home.sprynet.com
Work:  http://www.loc.gov/nls
 

> -----Original Message-----
> From: programmingblind-bounce@xxxxxxxxxxxxx [mailto:programmingblind-
> bounce@xxxxxxxxxxxxx] On Behalf Of DaShiell, Jude T. CIV NAVAIR 1490, 1,
> 26
> Sent: Tuesday, April 28, 2009 7:08 AM
> To: programmingblind@xxxxxxxxxxxxx
> Subject: RE: More about VB6
> Importance: Low
> 
> Okay, a real good alternative for that would be expect though that may
> not yet have been ported to windows.  The bookshare.org site has a book
> called exploring expect by Don Libes those with an account can download
> and learn from.
> 
> 
> From: programmingblind-bounce@xxxxxxxxxxxxx
> [mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of Sharon
> Hooley
> Sent: Friday, April 24, 2009 20:28
> To: Programming Blind List
> Subject: More about VB6
> 
> Hi again!
> 
> Okay, I'm interested in working with VB6.  So, since Visual Studios is
> an IDE, do I have to have that in order to work with VB6 on a Windows XP
> Pro system?
> 
> Actually, the type of programming I'd like to learn involves
> communication, like generating conversation or making a madlib game.
> Then maybe down the road I might want to develop more complex
> simulation/adventure type games.
> 
> Sharon

__________
View the list's information and change your settings at 
//www.freelists.org/list/programmingblind

Other related posts: