Re: Repeated hassles moving large file...?

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



Kenneth wrote:

> Hi John,

Please see my comments inline below...

Robocopy syntax can be a bit tricky. Robocopy is designed to copy whole folders (many files), it doesn't accept single file names in the path, for single files place the filename at the end, like so:

Robocopy "G:\Note05\Note05 Hold BASE" "\\Store\Store images
d\Note05\Note05 Hold Base" 3-5-08-Note05-APPS-7.tib


When I tried the above as soon as I entered the string, it
started running. That is, it started to copy before I
entered the destination.

I get the idea of the quotes surrounding the path with the
individual file following, but might you provide the syntax
that would allow me to specify the destination?

I assume it would look something like this:

Robocopy "sourcePathHere" fileNameHere "destinationPathHere"
fileNameHere


No, this way:

ROBOCOPY source destination [file [file]...] [options]

Don't put the file name after the source, only put it after the destination. Do ROBOCOPY /? for more help.


but I can't get that far before it launches.

I don't know what you mean by that, you are doing this at the Command Prompt? It only launches when you press <Enter>. If you are using the GUI version you will have to experiment with it, I have little experience with the GUI version.

As before, many thanks,

Once again, you're welcome.

John
.



Relevant Pages

  • Re: How can i pull out the first line from every file in a directory
    ... i was going to have that script supply the filename and fire off another script which searched for the IP in individual files,.. ... use strict; ... the second one searches a single file for IP addresses. ... that single command does most of what i need, I can just pipe the output to pfctl to add it to the firewall block list. ...
    (perl.beginners)
  • Re: Best way to integrate all filenames in a directory with SQL Recordset?
    ... Actual filename value transform from old to new is more like Filename.1 -> ... mismatch lists if something goes wrong. ... I will see what I can do to add another loop mid-stream to catch all file ... > Your destination I can only presume has 4 attributes ...
    (microsoft.public.sqlserver.dts)
  • Re: Inet1 connecting but cant upload - any help appreciated
    ... It looks like Send and Put are interchangeable with FTP. ... Have you tried just using the filename for the Destination? ... I can upload and download files using MS FrontPage without any trouble. ...
    (microsoft.public.vb.general.discussion)
  • Re: SLRN random-sig files, found this but stilll
    ... > looking to set up random sig with SLRN I found this link: ... > At the end it says one need to create for each quote a single file, ... with a dot at the beginning of the filename. ...
    (Debian-User)
  • Re: the dreaded File.Move over network problem...
    ... the SOURCE filename had the path AND filename ... the DESTINATION had only the PATH. ... Windows runs services under the LocalSystem account, ... has network access. ...
    (microsoft.public.dotnet.languages.csharp)