Re: ForFiles command.
From: Charles Prooth (Charles_at_NOSpam.com)
Date: 08/26/04
- Next message: CRIS HANNA \(SBS-MVP\): "Re: Access Server form Internet"
- Previous message: R Stovall: "Re: VPN works, sort of I guess, maybe?"
- In reply to: Cris Hanna [SBS-MVP]: "RE: ForFiles command."
- Next in thread: Jeff Middleton [SBS-MVP]: "Re: ForFiles command."
- Reply: Jeff Middleton [SBS-MVP]: "Re: ForFiles command."
- Messages sorted by: [ date ] [ thread ]
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.
> >
> >
> >
> >
- Next message: CRIS HANNA \(SBS-MVP\): "Re: Access Server form Internet"
- Previous message: R Stovall: "Re: VPN works, sort of I guess, maybe?"
- In reply to: Cris Hanna [SBS-MVP]: "RE: ForFiles command."
- Next in thread: Jeff Middleton [SBS-MVP]: "Re: ForFiles command."
- Reply: Jeff Middleton [SBS-MVP]: "Re: ForFiles command."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|