A
Academia
Can anybody tell me what this code does?
The find should be after the | not on a separate line.
Should there be a space between the | and find ?
I think I understand the xcopy except for the c:\
Is the c:\ just a filler that is required but not used because of the /L
But what does ^| do?
I think the pipe sends the xcopy output to the find but what does the ^ do?
Thanks
for /F "delims=" %%a in ('xcopy /s /L /d:%MyDate% "%Source%\*.*" c:\ ^|
find ":"') do (
echo Decompressing "%%a"
)
The find should be after the | not on a separate line.
Should there be a space between the | and find ?
I think I understand the xcopy except for the c:\
Is the c:\ just a filler that is required but not used because of the /L
But what does ^| do?
I think the pipe sends the xcopy output to the find but what does the ^ do?
Thanks
for /F "delims=" %%a in ('xcopy /s /L /d:%MyDate% "%Source%\*.*" c:\ ^|
find ":"') do (
echo Decompressing "%%a"
)