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,503 of 42,547   
   Endri Azizi to All   
   batch script file - copy the last busine   
   20 Oct 16 01:11:47   
   
   From: endri.azizi@gmail.com   
      
   I have to do a batch script file where I would like to copy the last business   
   day's file of the month for example:   
      
   business days   
   1=Monday   
   2=Tuesday   
   3=Wednesday   
   4=Thursday   
   5=Friday   
      
   not business days   
   6=Saturday   
   0=Sunday   
      
   (Monday 31 July 2016) is the last day of the month & is a business day copy to   
   a backup folder   
      
      
      
   (Saturday 31 December 2016) is the last day of the month BUT is not a business   
   day don't copy to a backup folder   
      
   than check back the first business day but the last business day of the month   
   (Fryday 30 December 2016) is the last business day of the month copy to a   
   backup folder   
      
   I hope now is more clear   
      
   Thanks a lot!!!   
      
   --- 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