Archived from groups: microsoft.public.windowsxp.general (More info?)
I do my backups by means of DOS batch files that copy to CDs the files
in certain directories that have their archive attributes set on.
I have now bought a new machine running XP. I want to set the archive
attributes off in all files in certain directories whose file dates
are earlier than a particular date.
In order to do this, I did a search for all files whose file dates
satisfied my need and which were located in the particular
directories. When the search was complete, I selected all of the
found files and tried to set their archive bits off by using the
File/Properties dialog. However, the results were uneven.
Archived from groups: microsoft.public.windowsxp.general (More info?)
You could perhaps temporarily copy the files identified after your search to
a temporary folder, open up a command prompt, in the folder and issue the
command
attrib -a *.*
Then copy them back (depending on how many directories are involved of
course).
Jon
"Musawwir Spiegel" <mms@spiegel-law.com> wrote in message
news:g899a11m36mp5p9ic144jtnecrggbdmomv@4ax.com...
>I do my backups by means of DOS batch files that copy to CDs the files
> in certain directories that have their archive attributes set on.
>
> I have now bought a new machine running XP. I want to set the archive
> attributes off in all files in certain directories whose file dates
> are earlier than a particular date.
>
> In order to do this, I did a search for all files whose file dates
> satisfied my need and which were located in the particular
> directories. When the search was complete, I selected all of the
> found files and tried to set their archive bits off by using the
> File/Properties dialog. However, the results were uneven.
>
> Does anybody have a better way to do this?
>
> Musawwir Spiegel
> musman@aprilfool.info
Archived from groups: microsoft.public.windowsxp.general (More info?)
"Musawwir Spiegel" <mms@spiegel-law.com> wrote in message
news:g899a11m36mp5p9ic144jtnecrggbdmomv@4ax.com...
> I do my backups by means of DOS batch files that copy to CDs the files
> in certain directories that have their archive attributes set on.
>
> I have now bought a new machine running XP. I want to set the archive
> attributes off in all files in certain directories whose file dates
> are earlier than a particular date.
>
> In order to do this, I did a search for all files whose file dates
> satisfied my need and which were located in the particular
> directories. When the search was complete, I selected all of the
> found files and tried to set their archive bits off by using the
> File/Properties dialog. However, the results were uneven.
>
> Does anybody have a better way to do this?
>
> Musawwir Spiegel
> musman@aprilfool.info
A more elegant way would be to use xxcopy.exe
to copy your files, followed by attrib.exe /s /b to
reset their attributes. With xxcopy (which you need
to download), you can select which files are to be
copied: Either those before a given date or after a
given date. xcopy.exe is sadly lacking in this regard.
You are about to answer a thread that has been inactive for more than 6 months. If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.