Jump to content

OT: How to launch RoboCopy after installation ?


Recommended Posts

Posted

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.

  • Replies 4
  • Created
  • Last Reply

Popular Days

Guest Big_Al
Posted

Re: OT: How to launch RoboCopy after installation ?

 

Mel_3 wrote:

> 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

Posted

Re: OT: How to launch RoboCopy after installation ?

 

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.

Guest Big_Al
Posted

Re: OT: How to launch RoboCopy after installation ?

 

Mel_3 wrote:

> 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.

Guest Pegasus \(MVP\)
Posted

Re: OT: How to launch RoboCopy after installation ?

 

 

"Mel_3" <MyEmailList@gmail.com> wrote in message

news:1ebaf0b1-4c50-4bf7-805c-093f0d0e1ff0@64g2000hsu.googlegroups.com...

> 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.


×
×
  • Create New...