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 40,775 of 42,547    |
|    jackkkk to All    |
|    simple batch doesn't work    |
|    12 Oct 13 05:55:13    |
   
   From: giacomo.fabbian@gmail.com   
      
   Hi everyone I have a problem with this BAT:   
      
      
      
      
   SET cont=1   
      
   FOR %%f IN ("*.jpg") DO (   
      
   IF %cont==1(SET cont=2)   
      
   ELSE( mogrify -rotate 90 "%%f"   
      
   SET cont=1)   
      
      
      
      
      
   )   
      
      
   The output says: ELSE V is not a command   
      
   --- 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