home bbs files messages ]

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 42,090 of 42,547   
   Kerr-Mudd, John to T@invalid.invalid   
   Re: How do I run interactive commands   
   09 Nov 22 10:42:57   
   
   From: admin@127.0.0.1   
      
   On Tue, 8 Nov 2022 15:00:05 -0800   
   T  wrote:   
      
   > On 11/8/22 04:34, JJ wrote:   
   [piped commands]]   
   >   
   > Thank you JJ!   
   >   
   > I wrote this up as a Keeper:   
   >   
   >   
   > How to run interactive programs from batch   
   >   
   > echo inside (), then pipe to your command   
   >   
   >   
   > Example   
   >   
   >    
   >   
   > @echo off   
   > (   
   >    echo List volume   
   >    echo exit   
   > ) | C:\Windows\System32\diskpart.exe   
   >   
   >    
   >   
      
   Thanks.   
      
   --   
   Bah, and indeed Humbug.   
      
   --- 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