home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.msdos.batch.nt      Fun with Windows NT batch files      68,980 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 67,299 of 68,980   
   yelw0rc@gmx.net to All   
   =?UTF-8?Q?Benutzereingabe_2_mal_t=C3=A4t   
   18 Sep 18 14:48:21   
   
   Hallo,   
      
   irgendwie verstehe ich es nicht.   
   Wieso muss bei folgendem Skript die Benutzereingabe 2 mal erfolgen,   
   bevor es weiter geht?   
      
   @echo off   
   if 1==0 (   
     echo.True   
   ) else (   
     echo.False   
     :loop   
     set /p eingabe=Bitte Eingabe y/n:   
     if "%eingabe%"=="" goto loop   
     echo.%eingabe%   
     if "%eingabe%"=="y" echo.True   
     if "%eingabe%"=="n" echo.False   
   )   
   timeout 5   
      
   Gruß   
   Christian   
      
   --- 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