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?
Who is Participating?
ittogoConnect With a Mentor Commented:
robocopy <source> <destination> *.pst should work
highhill2011Author Commented:
wow, even easier than i thought
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.