Using the /XF switch in a job file results in "Invalid Job File" error

19 views
Skip to first unread message

WaxyBreath

unread,
Jan 28, 2009, 11:02:49 PM1/28/09
to RoboCopy
Using the /XF switch in a job file results in "Invalid Job File"
error. As a test, I am trying to exclude a file called Cisco.ht. All
files copy without the switch, and using the switch in the actual
command line works fine. Perhaps I have been up to long, but I just
cannot figure this out.

WaxyBreath

unread,
Jan 28, 2009, 11:35:21 PM1/28/09
to RoboCopy
OK, I HAVE been up to long. I used the /SAVE switch to create a job
file from the command line form that worked. The use of the /XF
switch and white space is quite confusing.

BEFORE (Incorrect):
::
/XF Cisco.ht :: eXclude Files matching these names
::


AFTER (Correct):
::
/XF :: eXclude Files matching these names
Cisco.ht
::
Reply all
Reply to author
Forward
0 new messages