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,418 of 42,547   
   Jean-Pierre Coulon to foxidrive   
   Re: adding leading zeroes to a numeric v   
   25 Jan 16 14:08:15   
   
   From: coulon@cacas.pam.obs-nice.fr   
      
   On Mon, 25 Jan 2016, foxidrive wrote:   
      
   > @echo off   
   > FOR /L %%A IN (1001,1,1200) DO call: routine %%A   
   > goto :eof   
   > :routine   
   > set num=%1   
   > set num=%num:~-3%   
   > convert p%num%.jpg > p%num%.gif   
      
   I obtain the message at each line: call: routine    
   can't find this file   
   name.   
      
   --   
   Jean-Pierre Coulon   
      
   --- 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