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,009 of 42,547    |
|    foxidrive to foxidrive    |
|    Re: Batch File to Create 25 backs up the    |
|    19 Sep 14 12:21:49    |
   
   From: foxidrive@server.invalid   
      
   On 19/09/2014 04:21, foxidrive wrote:   
      
   >>> pushd "c:\folder" && FOR /F "skip=25 delims=" %%a IN ('DIR /B /AD /O-D')   
   DO echo RD /S /Q "%%a"   
      
   >> That didnt work...   
   >>   
   >   
   > Did you see anything on the console?   
   >   
   > What part failed?   
      
   I'm guessing that you didn't change the folder, or you typed the folder   
   wrongly.   
      
   If there is anything on the console then that helps to understand what   
   happened rather than just   
   saying "That didn't work..."   
      
   It shows me the list of folders in an RD command here.   
      
   --- 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