OT: How to launch RoboCopy after installation ?

M

Mel_3

I have 60 GB of data to move from one hard disk to another.

Windows "copy" command aborts when file names are too long.

Tracking down all long file names could take hours or days.

I heard RoboCopy would do the copy.

I downloaded it and rktools.exe but heard it was a command line
program and not a windows gui application.

My questions:

1 - If I double click on rktools.exe from Windows Explorer will it
launch as a DOS application or will it install the application in c:
\program files\ like other app's do?

2 - Once installed must I go to the command line... then navigate to
the RoboCopy folder... then enter RoboCopy from the command line to
launch it?

3 - How to I install and launch and use this app?

Thanks for any help.
 
B

Big_Al

Mel_3 said:
I have 60 GB of data to move from one hard disk to another.

Windows "copy" command aborts when file names are too long.

Tracking down all long file names could take hours or days.

I heard RoboCopy would do the copy.

I downloaded it and rktools.exe but heard it was a command line
program and not a windows gui application.

My questions:

1 - If I double click on rktools.exe from Windows Explorer will it
launch as a DOS application or will it install the application in c:
\program files\ like other app's do?

2 - Once installed must I go to the command line... then navigate to
the RoboCopy folder... then enter RoboCopy from the command line to
launch it?

3 - How to I install and launch and use this app?

Thanks for any help.
The install places all the needed programs in C:\Program Files\Windows
Resource Kits\Tools
it makes a 'windows resource kit tools' program group and a shell "cmd"
that sets up a viable path so you can just type robocopy' and the %PATH%
variable is set right.

But there is no reason you can't just call robocopy.exe with the full
path name. Any file in a batch file can be called with a full path name
and work.

I have a batch file I use to copy and make backups. Here is a small
piece of it. This is just using one version of the command line. If
you want more specific help, the program group installed also has a help
shortcut for you (gui). Hope this helps:

@echo off
G:
cd \

set PATH=%PATH%;"C:\Program Files\Windows Resource Kits\Tools"

echo MyDocs
mkdir \backup\MyDocs
cd \backup\MyDocs
robocopy "C:\Documents and Settings\Alan\my documents" . /MIR
 
M

Mel_3

Big_Al,

thanks for the info.

- I need to start simple at the command line
- and just copy one file from one folder to another
- if I am in the folder with robocopy
- and want to copy all files from c:\folder-1 to c:\folder-2

Would the command line be...
robocopy folder-1\*.* folder-2
or what?

Would this also copy all all files in all sub-folders?

thanks for the help.
 
B

Big_Al

Mel_3 said:
Big_Al,

thanks for the info.

- I need to start simple at the command line
- and just copy one file from one folder to another
- if I am in the folder with robocopy
- and want to copy all files from c:\folder-1 to c:\folder-2

Would the command line be...
robocopy folder-1\*.* folder-2
or what?

Would this also copy all all files in all sub-folders?

thanks for the help.

You might be much better off loading the toolkit and you will have a
help icon on your start menu. It will give you much more.
I used the /MIR command.

robocopy source dest /MIR
the /MIR tells robocopy to duplicate the source into the destination.
And by MIR or mirror, it means to copy all new files, delete all missing
files (in dest) and to copy all changed files. Basically replicates
source to dest. It skips all files that are the same (unchanged).

This is what I use it for as copy will just copy everything, changed or
not and not perpetuate deletions.

Give the help a chance, robocopy is called RobustCopy for a reason.
 
P

Pegasus \(MVP\)

Mel_3 said:
Big_Al,

thanks for the info.

- I need to start simple at the command line
- and just copy one file from one folder to another
- if I am in the folder with robocopy
- and want to copy all files from c:\folder-1 to c:\folder-2

Would the command line be...
robocopy folder-1\*.* folder-2
or what?

Would this also copy all all files in all sub-folders?

thanks for the help.

If you wish to use robocopy from the Command Prompt then you should first
check its syntax with this command:

robocopy /?

You will immediately see that the file specification cannot be included with
the folder specification.
 

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

Top