RoboCopy Installation Directory?

kvnsdr
kvnsdr used Ask the Experts™
on
I installed the Windows 2000 Server Resource Kit on my XP Pro workstation to aquire ROBOCOPY.

I cut-n-paste the ROBOCOPY.EXE to the c:\windows\system32 directory because XCOPY is there.

I've been using XCOPY for many years through a simple Desktop "backup.bat" file.

So I'm converting my XCOPY .bat files into .cmd files.

Problem: I can only run the new Robocopy.cmd file within the c:\windows\system32 directory

It won't run from the Desktop as XCOPY did.


Q. How do I run ROBOCOPY from the Desktop like XCOPY?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
robocopy /commandline

Should work if the problem persists use full path with variable or direct for e.g. %WinDir%\System32\RoboCopy /commandline

Paste the relavant info from your CMD file here.

Cheers

Author

Commented:
Yeh, that works.

Q. Any harm keeping ROBOCOPY on my Desktop while backing-up my Desktop?
Not really it may not copy the batch file because it's in use, but other than that it shouldn't be an issue.  I believe their is a paramater to exclude certain files with RoboCopy so you could just exclude the batch file.

Cheers

Author

Commented:
Very good, RoboCopy is cool.........

Thanks...

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial