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 41,997 of 42,547   
   Herbert Kleebauer to Herbert Kleebauer   
   Re: requst for easy to implement spell c   
   07 Feb 22 17:34:30   
   
   XPost: alt.comp.os.windows-10, alt.usage.english   
   From: klee@unibwm.de   
      
   On 06.02.2022 21:21, Herbert Kleebauer wrote:   
      
   > It doesn't   
   > work if in the cmd window a file manager like Midnight Commander   
   > is running (don't know why).   
      
   The problem is using a 32 bit cmd.exe in 64 bit Windows. The   
   code below should work with either the 32 or 64 bit cmd.exe   
   in Win64:   
      
      
   @echo off   
   if [%1]==[] goto :l1   
   for /f %%i in (spell.txt) do (   
      echo %%i   
      timeout /t 4 >nul)   
   exit   
      
   :l1   
   set p=   
   if exist %windir%\SysNative\cmd.exe set p=%windir%\SysNative\cmd.exe /c start   
   ""   
   start "" %p% /min %windir%\system32\narrator.exe   
   timeout /t 4 >nul   
   start "" "%~f0" xxx   
   exit   
      
   --- 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