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,431 of 68,980    |
|    Batchman to dr.j.r.stockton    |
|    Re: Batch : XCOPY ERRORLEVEL grammar? ad    |
|    19 Jun 19 20:57:14    |
      From: batchman@dosville.foo              On Wed, 19 Jun 2019 08:55:37 -0700, dr.j.r.stockton wrote:       [SNIP]       >       > What should I put instead of the REMmed code, or ...?       >       > 8<---       >       > FOR /F "eol=; tokens=1,2*" %%J IN (%Here%%Who4%LIST.TXT) DO (       > XCOPY /D /F /Y /EXCLUDE:OMIT-SET.TXT %from%%%J\%%K %unto%%%J\ %%L | find       /v " File(s) copied"       >       > REM if ERRORLEVEL 1 echo Failure with %%J\%%K QUIT. & goto NOMORE       >              Instead of performing using Find on the XCOPY line perhaps redirect output of       XCOPY...              >>Xcopy.log              Then after the XCOPY operation perform a Find of the Xcopy.log file to check       for error messages?              --- 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