RoboCopy for one file

  • Thread starter Thread starter Mark Elsen
  • Start date Start date
M

Mark Elsen

I am trying to use RoboCopy to copy only one file at a
time and the error I am getting from my statement is
2004/08/10 16:34:57 ERROR 267 (0x0000010B) Accessing
Source Directory
\\ServerName\Directory\_notes\TestFile.txt\
The directory name is invalid.

The command line statement is: robocopy
\\SourceServerName\Directory\_notes\TestFile.txt
\\DestinationServerName\Directory\_notes /COPY:DAT

How do you get only one file to copy at a time?

Thanks,

Mark
 
Try robocopy /? or robocopy /???

I don't believe you can specify individual file names. What's your goal in
doing this?
 
I am trying to use RoboCopy to copy only one file at a
time and the error I am getting from my statement is
2004/08/10 16:34:57 ERROR 267 (0x0000010B) Accessing
Source Directory
\\ServerName\Directory\_notes\TestFile.txt\
The directory name is invalid.

The command line statement is: robocopy
\\SourceServerName\Directory\_notes\TestFile.txt
\\DestinationServerName\Directory\_notes /COPY:DAT

How do you get only one file to copy at a time?

Thanks,

Mark
Is Directory a share?

If NOT, and it is on drive C:

Robocopy \\SourceServerName\C$\Directory\_notes\TestFile.txt
\\DestinationServerName\C$\Directory\_notes /COPY:DAT


Jerold Schulman
Windows: General MVP
JSI, Inc.
http://www.jsiinc.com
 
I have a process set up to copy out any file that has been
changed and is ready for production. If I copy all the
files out there could be a file in development that makes
it to production.

I was using xcopy, but I have had to many problems and
some of the files were not making out. This process is
going from WA to NJ.

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top