Discussion Locked

zone$identifier file appears whn copying

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

We run a simple batch file to rename and copy files from a XP workstation to a Unix server share (via SCO Vision). The files copy fine, however two additional and unwanted files get copied there as well. Let's say the two files I want to copy are named 12345.mt and 54321.dl. Not only will these two files copy to the destination, but two more files will appear in the destination folder as well, and it looks something like "12345.mt.zoneIdentifier$data" and "54321.dl.zoneIdentifier$data" or sometimes "12345.mt{4c8cc155-6c1e-11d1-8e41-00c04fb9386d}$DATA" and/or "12345.mtSummaryInformation$DATA". How do I keep these "$DATA" files from being copied to the server? Here's the batch file the users use for the copy/rename process:
-----------------------------------------------
@echo off
cls
echo CITICORP GROUP
echo ==============
echo.
echo Processing DOWNLOADED files.......
echo.
cd \citibank\in
xcopy *.* q:\tapefiles\ /M
attrib *.* -A
echo.
echo Write these filenames in your LOG
echo.
echo DL = New Work File
echo MT = Maintenance File
echo.
pause
q:
cd tapefiles
del citimaint
del citipat
rename *.mt citimaint
rename *.dl citipat
pause
c:
exit
-------------------------------------
Any help appreciated. Thanks!
Gerry

3 replies

by sgt_shultz

wonder if you are only concerned with files ending with mt and dl?
wonder if these 'extra' files that appear on the sco server after the copy exist on the source? or if the files get translated as well as copied? (via SCO Vision i guess).
wonder do you need to pick up all the files in a directory, regardless of type?
wonder if a modification of the wildcard in the extention portion of the filename spec'd in the xcopy *.* line, say to:
*.ml then
*.dl
would fix you up. or do you need an 'exclusion' switch for your copy command. to exclude the strangeness. then you would need Robocopy from 2003 Resource Kit free for download to 2003 or xp box.
but maybe it is a setting in SCO Vision. a file translation option you can live without. how come you think you can live without it, i wonder? you can copy files back from this server and use 'em, yes?

This discussion is closed to new replies.