Re: ForFiles command.

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Charles Prooth (Charles_at_NOSpam.com)
Date: 08/26/04


Date: Thu, 26 Aug 2004 14:04:20 -0700

I run an automated file transfer from a remote network. Some files might be
new and others may overwrite existing files. I want to be able to see at a
glance or record into a "files for the day" kind of log file which files
changed on that particular day.

~CP
------------------------------
"Cris Hanna [SBS-MVP]" <crisnospamhanna@computingnospampossibilities.net>
wrote in message news:A75AA6F7-417E-4689-8415-AC2113417D90@microsoft.com...
> not much of a scripter myself, althought we some MVPs and others who may
jump
> on this, but I'm curious, what would the benefit be and how often would
you
> actually run this?
>
> "Charles Prooth" wrote:
>
> > Hello!
> >
> > I have been trying to make this command work as the documentation
describes.
> > The documentation, in this case, being the command line reference in the
> > SBS2003 help.
> >
> > There seems to be a couple of "typos" in the documentation. In
particular,
> > one example is: forfiles /p c:\ /s /m*.* /dt-01011993 /c"cmd /c echo
@file
> > is quite old!" . The "dt" doesn't seem to work.
> >
> > Also the "DD" in the date option doesn't seem to work but hardcoding a
date
> > does work. When I try to extract file names for files that are a
particular
> > age the results are unpredicatble.
> >
> > My goal is to be able to perform a search in a given directory and
> > subdirectories for files that have changed in the last nn days. This can
be
> > done interatively using the "start, search, files or folders" function
but I
> > want to be able to generate a list from a batch file.
> >
> > I would welcome any tips or comments.
> >
> > Thanks, in anticipation.
> >
> > Charles.
> >
> >
> >
> >



Relevant Pages

  • Re: How do I get rid of "iTunes Store" in iTunes?
    ... and can focus intensely (at the keyboard) on active work, ... command work or how to accomplish some new capability. ... multiple sophisticated software tools -- provided the G-D vendors don't ... diverting to read or skim the documentation of a new program, and say, ...
    (comp.sys.mac.apps)
  • RE: ForFiles command.
    ... not much of a scripter myself, althought we some MVPs and others who may jump ... "Charles Prooth" wrote: ... > I have been trying to make this command work as the documentation describes. ...
    (microsoft.public.windows.server.sbs)
  • ForFiles command.
    ... I have been trying to make this command work as the documentation describes. ... The documentation, in this case, being the command line reference in the ... done interatively using the "start, search, files or folders" function but I ...
    (microsoft.public.windows.server.sbs)
  • Re: cannot eject cdrom after burning dvd (2nd time)
    ... according to the documentation you're citing there's no need for the ... format and a simple overwrite is sufficient. ...
    (linux.redhat)
  • Re: Having Trouble With TSR code...
    ... It seems there is alot more to this.... ... I'll just have to look for more documentation on this, ... and could even overwrite other programs code/data, ...
    (comp.lang.asm.x86)