Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.msdos.batch    |    Fun with MS-DOS batch files    |    42,547 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 41,630 of 42,547    |
|    markovicb599@gmail.com to All    |
|    Re: command for ENTER key    |
|    09 Jun 18 01:01:36    |
   
   петак, 01. јануар 1999. 09.00.00 UTC+1, Ga...@wines.net је   
   написао/ла:   
   > Hi gang,   
   > awhile ago some posted the command to reboot    
   > from a batch file, like echo | 00:000 some numbers.   
   > if that is correct.    
   >    
   > I need the same like for the ENTER key, I know its   
   > 13 but i just need the line that says to act as the   
   > enter key has been press in a batch file.   
   >    
   > echo | enter   
   > type | enter   
   >    
   > a program starts and need the enter key press to continue   
   > so my batch is    
   > cd \mail   
   > read   
   > echo | enter << this is the ascii coomnad to act as if enter    
   > fmail do if exist mail.#00   
   > cd \   
   > goto end   
   >    
   >    
   >    
   > could you also send a e-mail to me personal as well as newsgroup   
   > thanks.   
   >    
   > gary   
   > my e-mail   
   > wines (att) accessatc (dot) net   
      
   you can do it in vbscript:   
   wshshell.SendKeys('ENTER')   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca