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,860 of 42,547   
   Gleep to All   
   Re: moving all files and folders into a    
   17 Dec 13 21:20:22   
   
   From: erik.tank@gmail.com   
      
   Well I finally got the spaces included by using the same "tokens=*" in my   
   second for loop:   
      
   for /f "tokens=*" %%f in (C:\dfs_shares\home\staff\%1\@movelist2) do move %%f   
   c:\dfs_shares\home\staff\%1\files\   
      
   However, I just found out that my findstr command also blocks out ANY folder   
   with the work "files" in it.  I was under the impression that \files would   
   mean only if the folder started with "files" OR if it was a literal search as   
   in parsing the document    
   and finding "\files" in the path like "C:\Data\User1\files" but as it turns   
   out it is blocking things like "C:\Data\User1\My files" as well.   
      
   I took out the /C: statement and took out the cache statement as I continue to   
   work on this.  I've tried "\" which if I'm understanding things   
   correctly should filter out the word files - and it does, but it still filters   
   out "...\my files" as    
   well.  I tried putting in the whole path next "\"  But that totally skips the files rule altogether...   
   Grrrrr... so close.   
      
   --- 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