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,142 of 42,547   
   Major JH to foxidrive   
   Re: Two page number sequenced files to a   
   09 Jun 15 06:13:52   
   
   From: milpkbk@googlemail.com   
      
   On Tuesday, 9 June 2015 13:49:59 UTC+1, foxidrive  wrote:   
   > On 9/06/2015 21:06, milpkbk@googlemail.com wrote:   
   > > I need help;   
   > >   
   > > I little experience in Batch Scripting and I was suggested i should try   
   here.   
   > >   
   > > I need to extract two files at a time that are located in a folder, all   
   other files in the folder will need to do the same to follow in sequence, file   
   called :   
   > > Filename_002.doc   
   > > Filename_003.doc   
   > > Filename_004.doc   
   > > Filename_005.doc   
   > > Filename_006.doc   
   > > Filename_007.doc   
   > > Filename_008.doc   
   > >   
   > > Etc would go onto possible up to 264 docs and possibly more.   
   > >   
   > > I need to extract a pair Filename_002.doc & Filename_003.doc to a folder   
   named folder. I would end up with just two pages in each folder from the first   
   page number, in this case folder 002 would contain filename_002.doc and   
   filename_003.doc and so on.   
   >   
   > Do you want to MOVE a pair of files from one folder into another folder?   
   >   
   > Extracting is something you may mean to be something else.   
   >   
   > > 4 & 5   
   > > 6 & 7 etc.   
   >   
   > What foldername does 2 and 3 go into?   
   > They can't all go into a folder named folder, right?   
   >   
   > Is 'Filename_' the same for every file?   
      
   Folder name can be the same as the first file either just 002 as the folder   
   will be unique always.   
      
   that would mean that page 002 and 003 would be in the folder 002.   
      
   --- 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