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 40,618 of 42,547   
   ehabaziz2001@gmail.com to All   
   setting variable inside for loop   
   12 Apr 13 09:45:02   
   
   FOR /F "tokens=*" %%G IN (dir.lst) DO (   
   @echo %%G   
   @set filename2=%%G   
   @echo %filename2%   
   )   
      
      
   How can I set my filename2 because I can not find it filled with %%G content .   
      
   --- 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