Re: Deleting files from one directory that are not present in another

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Lutz Kruse wrote:
you should take a look at robocopy from Windows 2003 Reskit. There is a
switch /MIR (Mirror).

That looks like exactly what I want, thanks. I'm still curious as to
why my command wouldn't work in a batch file though.

Phil Hibbs.
.



Relevant Pages

  • Re: USB drive problem
    ... Once per month I update the files using a batch file ... using this context for the copy command: ... that folder. ... The first problem I see is that there is no U or S switch for COPY. ...
    (alt.comp.hardware.pc-homebuilt)
  • Re: Backup runs manually OK, needs input when scheduled?
    ... The relevant command lines in the batch file are: ... conjunction with certain other command line switches mind you. ... Strange thing is that I cannot think how this [or any other switch] would ...
    (microsoft.public.backoffice.smallbiz2000)
  • Re: Copying silently.
    ... command was in a batch file, but I'd like it to be one command on the ... There is no switch that means "keep Quiet" at all, ... It ought to be possible to redirect standard output and error output ...
    (uk.people.silversurfers)
  • Re: total size of files
    ... echo Total=%Total% ... I'm aware of the /-c switch for the "dir" command - it would come in handy if the OP decided to total up the numbers from several servers. ... I note with concern that we're deep into a batch file discussion even though we're in a VB Scripting group. ...
    (microsoft.public.scripting.vbscript)
  • Re: application shut down does not force logout
    ... It's not the /wait switch which makes it work, it's the logoff ... command afterwards, which forces the logoff. ... You need the /wait switch to tell Windows that it must wait until ... >>> here is what is in the batch file ...
    (microsoft.public.windows.terminal_services)