• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 802
  • Last Modified:

robocopy include and exclude switches

I'm writing a batch file to copy only our outlook archive files to a backup location.

my question is very simple, do i need to exclude all other files first, then include *.pst? or does adding /IF *.pst assume that i'm excluding everything else?
0
highhill2011
Asked:
highhill2011
1 Solution
 
ittogoCommented:
robocopy <source> <destination> *.pst should work
0
 
highhill2011Author Commented:
wow, even easier than i thought
0

Featured Post

Restore individual SQL databases with ease

Veeam Explorer for Microsoft SQL Server delivers an easy-to-use, wizard-driven interface for restoring your databases from a backup. No expert SQL background required. Web interface provides a complete view of all available SQL databases to simplify the recovery of lost database

Tackle projects and never again get stuck behind a technical roadblock.
Join Now