- May
- 3,515
- 5
It appears that the Hidden attribute of directories copied using COPY /H is
not copied. The H attribute of files is properly copied.
--
Steve
not copied. The H attribute of files is properly copied.
--
Steve
By registering with us, you'll be able to discuss, share and private message with other members of our community.
SignUp Now!> It appears that the Hidden attribute of directories copied using COPY
> /H is not copied. The H attribute of files is properly copied.
> "/K (Keep read-only attribute) To maintain compatibility with CMD.EXE,
> COPY normally maintains the hidden and system attributes, sets the
> archive attribute, and removes the read-only attribute on the
> target
> file. /K tells COPY to also maintain the read-only attribute on the
> destination file...."
>
> There is no mention that the phrase relating to hidden and system
> attributes applies only to files, not directories!
> In any event, I now suggest adding a suboption either to the /H
> or the /K option to copy the hidden and system attributes of
> directories as well as files.