How to set the attribute of list of files before copying
Hi all,
My question is
I want to copy a list of files from one directory to system directory, but the copied files attribute should be always NORMAL, how can I set the copying file attributes as NORMAL.
I am using the syntax
CopyFile "$CurrentDir\*.inf" "$WINDIR\inf"
And the "SetFileAttributes" syntax is only for setting one file attribute at a time.
So as I think first I have to list out all the files from the source dir and than set their attributes as NORMAL and than copy those into destination directory, but if this is the case how can I list out all the files from the source directory.
Thanks
Venu