Search found 4 matches

by pkearan
29 Aug 2012 02:07
Forum: DOS Batch Forum
Topic: create a log of files excluded using xcopy
Replies: 8
Views: 7206

Re: create a log of files excluded using xcopy

I did this to solve the issue
(dir /b /s /a-d "%DownloadedPatchPath%\%fold%")|findstr /g:excludefiles.txt >>"%DownloadedPatchPath%\skipped.txt"

does it have any vulnerability
by pkearan
29 Aug 2012 00:07
Forum: DOS Batch Forum
Topic: create a log of files excluded using xcopy
Replies: 8
Views: 7206

Re: create a log of files excluded using xcopy

my exclusion files looks like

.xml
.config

no wildcard supported in xcopy
Also the batch file is running in a different location than the directories being copied so I think this line will not work

dir /b /s /a-d "%%a">>"skipped files.txt"
by pkearan
28 Aug 2012 23:35
Forum: DOS Batch Forum
Topic: create a log of files excluded using xcopy
Replies: 8
Views: 7206

Re: create a log of files excluded using xcopy

On the screen it just shows the paths of the files copied no mention of the excluded files. Applying Patch for "D:\Release\Client" D:\Release\Patch_Control\PATCH_20120827\Client Release\BusinessObjects.dll -> D:\Release\Client\BusinessObjects.dll D:\Release\Patch_Control\PATCH_20120827\Cli...
by pkearan
27 Aug 2012 23:02
Forum: DOS Batch Forum
Topic: create a log of files excluded using xcopy
Replies: 8
Views: 7206

create a log of files excluded using xcopy

I want to have a log of only the files which xcopy excluded while copying the directories which I specified in the batch script. eg. my script is doing this xcopy "first folder name" "second folder name" /s /i /Y /f /exclude:excludefiles.txt I want to have a log of the files whic...