home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.msdos.batch.nt      Fun with Windows NT batch files      68,980 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 67,225 of 68,980   
   JJ to Tom Del Rosso   
   Re: xcopy can't use exclude files with q   
   18 May 18 22:19:34   
   
   From: jj4public@vfemail.net   
      
   On Thu, 17 May 2018 00:16:53 -0400, Tom Del Rosso wrote:   
   > Apparently xcopy can't use exclude files with quotes.   
   >   
   > C:\TEMP>xcopy /exclude:"exclude 1.txt" test*.* d:   
   > Can't read file: "exclude 1.txt"   
   >   
   > And I thought the API handled quotes so that every program would treat   
   > quoted names the same way.   
      
   The /EXCLUDE switch doesn't support long file name. The file path syntax   
   which contains double quote characters.   
      
   I'm guessing that Microsoft doesn't even bother to update it.   
   It's still like that even in the latest Windows 10 build.   
      
   I suggest replacing the space with underscore or dash character, from the   
   exclude list file name. Or just remove it.   
      
   --- 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