Over 1 million tech questions and answers.

Robocopy and same directory

Q: Robocopy and same directory

Hi

With the Robocopy command of Windows 8.x, how do I do a copy of a file (renaming it) in the same directory of the source file?

Thanks

Bye

RELEVANCY SCORE 200
Preferred Solution: Robocopy and same directory

I recommend downloading and running Reimage. It's a computer repair tool that has been proven to identify and fix many Windows problems with a high level of success.

I've used it in the past to identify and fix everything from blue screens (BSOD's), ActiveX errors, corrupt files and processes, dll/exe/sys errors, recover lost memory, Windows update problems, defragging, malware removal etc.

You can download it direct from this link http://downloadreimage.com/download.php. (This link will automatically start a download of Reimage that you can save to your computer.)

A: Robocopy and same directory

You can't. Use copy or xcopy if you want to rename.
e.g.
Code:
xcopy c:\test\old.txt c:\test\new.txt


Note xcopy will always prompt you with "Does c:\test\new.txt specify a file name or a directory name on the target" so you would probably be better off with
Code:
copy /v c:\test\old.txt c:\test\new.txt


where the /v verifies the copy.

Read other 1 answers
RELEVANCY SCORE 64.4

I have used ROBOCOPY to tranfer a large file from or to a USB drive and the destination Directory on both occassions has beeen chnaged to a hidden system directoiry, which could not be seen in Windows explorer or through command line access, even with the
"Show hidden and System files" set on in the view properties window.
The command executed was ROBOCOPY {source drive} {destination drive\folder} /MIR
The command echoed all the actions performed during the copy and displayed a successful copy command summary at the end.
To enable windows to see the directory I had  to either type the directory in the explorer address bar, or use the command prompt to change the attribute of the directory as follows "attrib -h -s d:\Films", whereupon the directory was visible in windows
explorer. 
Can anyone suggest a way out if this wwithout the need to execute the attribb -h -s command after every ROBOCOPY command?

A:ROBOCOPY hides destination Directory

Hi,
 
Thanks for posting in Microsoft TechNet forums.
 
I just performed a test using above command without any problem. I am assuming it is due to the USB drive itself, it may be infected by viruses or malware. Regarding
this, I would like to provide the following suggestions:
 
1.    
Use ROBOCOPY to copy files to the built-in hard drive to see if the issue occurs.
2.    
Manually copy the files to the external USB drive to see if they are hidden.

3.    
Update the security software and perform a full scan.

4.    
Format the USB drive to remove suspicious files completely and perform ROBOCOPY again.
 
Best Regards
Dale Qiao
TechNet Subscriber Support
in forum. If you have any feedback on our support, please contact
[email protected] remember to click ?Mark as Answer? on the post that helps you, and to click ?Unmark as Answer? if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ?

Read other 25 answers
RELEVANCY SCORE 63.6

Hello -- I am running a robocopy job to mirror my D:  drive (data drive) to
folder on my external usb drive with 

robocopy d:\ x:\d-drive /mir

after the job finished, the folder x:\d-drive is now hidden and has the system
attribute ---

Does anyone one know why this happens?

Read other answers
RELEVANCY SCORE 63.6

I want copy a list of folders (a few hundred) to a new location. I tried using robocopy but can only get it to either copy the selected folder or all folders with subfolders. What I want is to only copy one level of folders and not the subfolders within.
Example:
C: Drive (the source) ->Clients->Client 1
->Order1 ->More SubFolders
->Order2
->Order3
->Order4
->Client 2 ->Order1
->Order2
->Order3
->Order4
->Client 3
->Client 4
So I would want to copy over just the first level of folders (the list of clients), but none of the subfolders within each client folder.

any help would be great.
thanks.

A:Robocopy? Copy Directory Structure 1 level

Hi,

Try using the /LEV:n switch in your robocopy command.

From robocopy /? at command prompt

Code:
::
:: Copy options :
::
/S :: copy Subdirectories, but not empty ones.
/E :: copy subdirectories, including Empty ones.
/LEV:n :: only copy the top n LEVels of the source directory tree.
It should look similar to this:


Code:
robocopy C:\Clients G:\Backup\Clients /LEV:2
Perform some tests to make sure it works OK.

Regards,
Golden

Read other 3 answers
RELEVANCY SCORE 63.6

I have a Robocopy batch file that works wonderfully when copying from Windows to a USB, NAS or server share.  I recently tried to use my Microsoft OneDrive as the target but could not get it working.  I mapped a drive using the WebDav address.
 This works fine and using Windows Explorer I can create folders, etc.  When I try to use Robocopy to copy files from my Win7 PC to my OneDrive mapped drive I get Error 2.  After some testing I am finding that Robocopy will work if the folders
are already in place but if it needs to create a folder it will error.  So it seems as though Robocopy is unable to create the folders it needs to when using a WebDav mapped drive.  Why would this be?  I can create folders in the mapped drive
using command line such as "V:\md testfolder".   

Read other answers
RELEVANCY SCORE 63.6

Hi all,
I was running robocopy for 1 TB of DATA. There was no failure or mismatch of file/directories. But what I can see, it copied 57000 directories and also skipped 57000 directories.
Is it because of I have used /MT switch ?
Regards,
Suhag.

Read other answers
RELEVANCY SCORE 62.8

I'd like to use Robocopy (I'm using Xcopy now) to copy everything from the 'current' folder. It appears that Robocopy absolutely has to have a path of some sort to correctly work. In Xcopy, we were able to runXcopy *.* C:\somedirectory\If I try the same in Robocopy I get a an error"No Destination Directory Specified"Orange County District Attorney

A:Robocopy - Wildcard to copy everything from current source directory

Hi Sandy,

It's true ROBOCOPY doesn't handle wild cards, but what you're after is still possible:

Say I want this:

C:\temp> robocopy *.* c:\temp2\

I'll get the error you get - "No Destination Directory Specified"

BUT, if you try this:

C:\temp>  robocopy c:\temp\ c:\temp2\

ROBOCOPY will work and do what your after. Quotation marks can also be used in the above path references.

I suppose one of the reasons for the lack of wildcard support is the fact that ROBOCOPY actually works to exclude files types later with the /XF switch (such as "/XF *.mp3"). More here.

Hope this helps,
Kevin @calwell on twitter.

Read other 10 answers
RELEVANCY SCORE 62.8

Hi All,

I have one folder A and have another folder B in the same drive E: I need to move all the content from folder A which are more than 2 years old to folder B. Hence when I ran the robocopy it just copied and I lost all disk space in drive E.

My question is even though I used /MOV command why it is not copied and deleted from the source?

robocopy E:/A E:/B /e /MOV /MINAGE:730

Please suggest..

A:Robocopy /MOV command copying but not deleting from source directory

I created folders Test and Test2 on drive E:, copied some files over and under two years old and tested with command

Code:
robocopy E:\Test E:\Test2 /e /mov /minage:730
Works perfect. All files older than 730 are moved, copied to destination and deleted from source. I can only think of two possible causes for your issue:System considers files to be newer than 730 days old
A syntax error in your command
Please run the command, take screenshot of the last part of summary (under the dotted line, highlighted in screenshot below) and post it here.
Kari

Read other 9 answers
RELEVANCY SCORE 62.8

Hello folks,

I know similar questions have been asked but I "might" have a unique one. What I have been trying to do is to copy the "C:\Users", "C:\Program Files", & "C:\Program Files (x86)" to another clean hard drive "D:\".

I'm doing this to make more room for the OS in the C: drive while date will be in the D: drive. Now I have successfully robocopy Program Files & Program Files (x86). I also have copied most of the Users directory but for this stubborn Real\update directory. This is I think the real player program. I get this Access Denied and "Error 5" error. I am in elevated command prompt. I achieved this via the Repair your computer prompt on the Windows install DVD.

I also have rmdir for Program Files & Program Files and have made a mklink for both of them so windows knows where they will be. But I have not did a full boot because I don't think windows will access my Users directory because they have been moved over to the new drive. What I can only do will have to be via the command prompt.

I can't make a mklink for Users because I get an error saying something about duplicate areas? What I was trying to do is go to this Real\update directory but even trying to access that directory via cd commands will not work, giving me a access denied. Again I am in elevated command prompt "Administrator:X:\windows\system32\cmd.exe How can I get to that directory. I just want... Read more

A:Robocopy - Access denied Error 5 Real Directory

You probably just can't move your program files due to the possibility of config files and registry entries that are looking for your programs on the c drive since that's where they where installed. They should be reinstalled if you want to move them. Also if you move the profiles folder (under c:\user) it will break your profiles and you will need to change the location in the registry. I suggest that you put everything back and just move your personal files, music, pics, & videos on another drive. That should free up a lot of space.

Read other 7 answers
RELEVANCY SCORE 62.4

What is the format for ROBOCOPY to copy a file from the source directory and rename that file in the target directory? ie, file c:\A\a.txt should be copied as C:\B\b.txt

Thanks,
Dan

Read other answers
RELEVANCY SCORE 41.2

I installed ATA in my environment yesterday and the server alerted me to my AADSync server.  I allowed the activity, but I'm wondering if it is best practice to install the (Lightweight) Gateway on the AADSync server?
AADSync server is running Windows 2008 R2 without any roles installed.  Microsoft Azure AD Connect is the only service running on this server.

Read other answers
RELEVANCY SCORE 41.2

Hi everyone,
I'm new here and have a question. I recently had to set my system back to factory settings. Now when I go to a new web site using Firefox I get the following error message...
 
"Javascript task directory does not exist. Please change to home directory."
 
I'm using Windows Vista Ultimate version, 32-bit with both Service pack 1 and 2 installed. I have no idea of how to correct this problem and I know everyone on this forum are brilliant! So any help would really be appreciated.
Thanks!
 
 
 
 

A:Javascript task directory does not exist. Please change to home directory.

Hi osprey1111,
 
Have you checked to see if you have Java installed: http://www.java.com/en/download/testjava.jsp
 
 
Have you enabled: http://www.activatejavascript.org/en/instructions/firefox
 
Regards........................

Read other 11 answers
RELEVANCY SCORE 40.8

I need some help in figuring out how to copy a whole bunch of files from a directory tree to a single directory. I looked at all the xcopy switches, but none of them look like they will do what I want it to do. If I use the /S switch, it will keep the directory structure. Any ideas?

A:Help with copying files from a directory tree to a single directory

Do you have XP up & started? Why not just go into explorer, highlight all you need (CTRL + A to highlight everything), copy & paste?

Read other 4 answers
RELEVANCY SCORE 40.8

Hi there.. is there someone that could help me out? I've searched and searched but have not found a satisfying error free answer yet..: (well, 2 questions actually...)
1.
I want to move the entire User Folder in my Vista OS in a different alltogether hard drive.
instead of c:\users\myusername...I want something like f:\my_folder_users\myusername
This would also apply to os folders such as AppData, and default location of file allocation, ie Microsoft or Adobe.
I am aware that you can move specific user folders but not the entire tree... Any help with that?

2.
I want to move the default target installation directory for any new application... I mean you can do it the manual way but some of the programs may not allow this, or even addons...

Any help greatly appreciated...
M.
 

A:Moving the User directory & default installation directory

I'm not answering this with any great confidence that you are not going to get into trouble here, but the default locations for the "current user" -- what you are talking about in item 1 -- are covered in this registry location:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders

You might find some more information here:

http://www.kellys-korner-xp.com/xp_shell_folders.htm

I could be wrong, but I don't think there is a way to get setup programs to automatically offer that.
 

Read other 2 answers
RELEVANCY SCORE 40.8

I have a 10 files that have all been categorised into about 40 folders. These files have been damaged.
I have a backup of all these files, but they are not categorised and sit in a single directory.

Does anyone know of an easy technique to batch replace the damaged files with the originals?

Cannot find any apps to do such a task.

A:Replace files in multiple directory, from a single directory

Easy one:

Built in command part of Windows. Open an elevated Command Prompt and type:


Code:
replace /?
Here is how:

Folder with Backup files:

C:\Data\Backups

Folders with corrupt files:

E:\Finance\Statements\2001
E:\Finance\Statements\2002
E:\Finance\Statements\2003
E:\Finance\Statements\2004
E:\Finance\Statements\2005
E:\Finance\Statements\2006
E:\Finance\Statements\2007


Code:
Replace c:\data\backup\*.* e:\finance\statements /s

Read other 2 answers
RELEVANCY SCORE 40

I'm trying to delete a subfolder from my server via FTP, when I receive the error message:

550: cannot remove directory, directory not empty.

Any suggestions on how to delete?

Tks
 

A:~FTP error - 550: cannot remove directory, directory not empty.

The server seems to be saying you do not have permission to delete a subfolder that still has something in it. Have you made sure that the subfolder you are trying to delete is completely empty, including any hidden files? Some FTP client programs have a user selectable option to delete non-empty subfolders.
 

Read other 1 answers
RELEVANCY SCORE 40

So i have 3 files i cannot delete after uninstalling a game. I also cannot rename the folder they are in without windows explorer not responding and i have to restart explorer.

I did take ownership method but that froze up to. I went into safe mode, and tried it that way - also didn't delete, it equally froze up.

I have attached an image of the delete attempt - it just gets stuck like that.

I'm out of options - please advise on what i should do ?

A:Files won't delete in directory - can't rename the directory either

What is drive F? Is it a flash drive?

Read other 8 answers
RELEVANCY SCORE 38.4

Following the directions outlined in Change Directory in Command Prompt including enabling command extensions outlined in Command Line does not permit the CD command to change the directory focus to a directory with a space in its name. I am trying to set the active directory prompt to C:\Users\Owner\My Documents. I can get to C:\Users\Owner but with command extensions enabled in administrator mode (CMD E:ON) the CD command will not accept My Documents as a valid directory name within Owner. The error I get is "The system cannot find the path specified." My goal is to get a directory tree (as a file) of the directories and files in My Documents with the DIR command when in that directory. The complete DOS line for that command would read C:\Users\Owner\My Documents>DIR /o:n /s > DirTreeList.txt. Any help would be greatly appreciated.

A:Cannot change directory (CD) to a directory with space in the name

Welcome to Seven Forums utnatw7f387. I'm far from an expert, but will throw out something simple until the smart people see this. have you tried

C:\Users\Owner\My\ Documents>DIR /o:n /s > DirTreeList.txt

A Guy

Read other 9 answers
RELEVANCY SCORE 38.4

I am trying to create an "End-User" Friend Company Directory site that links to field in Active Directory.

Active Directory is currently hosted on Server 2003 with latest Service packs.

I have seen several pieces of software such as People Updater/Finder most of which do more than I want to do.

Any suggestions on a CHEAP or even FREE solution?

Thanks.

-- BS
 

A:Active Directory to Company Directory

How often will you update this?

If its a one time deal, excel, Dsquery/ dsget and a little vbs/ JS can get you done... querying the LDAP is not too hard to put into a txt file or xls. Cleaning it up can be depending on how much you want to put into the development.
 

Read other 1 answers
RELEVANCY SCORE 38.4

We have a mixed-mode domain (Windows Server 2003 is our primary domain controller/Exchange server where Active Directory administration is executed). We have users' home directories mapping using built-in AD functionality to map a home directory (not via a login script). We set it up by going to Active Directory Users and Computers | User Name | Properties | Profile | Home folder. We have drive H: set up to connect to \\fileserver\users\username, which is each user's home folder.

Regularly, for users of Windows XP only, we see this folder being mapped to \\fileserver\users during some Windows sessions, which non-network administrators cannot access. As a result, they see "Access Denied" when trying to go into their H: drives. This poses a problem for saving and accessing files but also because we have WordPerfect's backup folder set to the user's H: drive, and when WordPerfect can't find it, it tells the user their backup folder can't exist, which makes people wonder why they are getting an error message and what to do.

When this happens, I can go into ADUC and check the user's profile and see that their home folder is supposedly still pointed at the right place. However, when actually mapping, it mismaps to the parent directory. I would say this happens once every two weeks for me, or perhaps more often for some users. I wrote a little batch file to unmap drive H: and remap it properly that ea... Read more

A:Xp - Home Directories Not Mapping Properly - Mapping To Parent Directory (domain's Users Directory)

Try mapping the network drive on the user's computer via the command prompt, and then setting the /persistent flag to yes.

For example:

Log in as the end user on their Windows XP workstation. Open My Computer and disconnect the H:\ drive so that it goes offline and disappears from the My Computer window.
Open up the Command Prompt.
Map the network drive via the command prompt using the following commands:

net use h: \\fileserver\users\%username%

Then press [Enter] and wait for the command prompt to confirm success. Next set the /persistent switch for the mapped network drives.

net use /persistent:yes

Then press [Enter] and wait for the command prompt to confirm success. Open My Computer and confirm that the mapped home drive reference has been created. Restart the computer and check it again. If it switches out, there may be a script that is running at login or some other setting that is being pushed out via Group Policy that is interfering with the network drive mappings.

Read other 2 answers
RELEVANCY SCORE 38

Hi, I have 2 questions which I desperately need help with. Here's the question: 1. robocopy shoud Run in a separate terminal window and recheck file system changes every minute. 2. write a continous logfile that contains all detected file system changes including full pathnames of affected files. How do I do this?

A:Robocopy (help please)

This is one way, put this in a batch file:

:Start
robocopy command here
timeout 120 > nul
goto Start

Lots and lots of robocopy parameters, one of which is /log:file (file being the file you want info logged ion). > nul hides the Timeout in n seconds message.

Read other 5 answers
RELEVANCY SCORE 38

We are looking to migrate a SQL database to a new server. The database is for an imaging software and has pointers to the images. We are going to move the database in the next week or two. I wanted to start copying the image files to the new server to prepare for the migration (about 300 gig of 17k files). I understand that robocopy is a good program to accomplish this. I am looking to copy all the files, folders, and subfolders over, then copy only the changes over nightly. What is the correct command line that I should use to accomplish this? Can I save it to a bat file and use windows task scheduler to have it run nightly?

Thanks in advance for all of the help!
 

A:robocopy

Are you migrating to a server that will be running the same software? Why not use an SSIS package? That way, you can migrate the complete database to the new server and just point your programs as necessary.
 

Read other 3 answers
RELEVANCY SCORE 38

how do I access a command line to be able to use robocopy? when I use the regular command prompt, I get an error message that says Robocopy is not recognized as an internal or external command, operable program or batch file. What am I doing wrong?
 

A:Robocopy

Where did you get the program? Sounds like it's corrupted.
 

Read other 2 answers
RELEVANCY SCORE 38

I am trying to use robocopy in a batch file to move log files that are older than 5 days into a subdirectory of the current directory.  Also I want it to report only how many files were copied just like copy and xcopy do.
Here's what I have now:
robocopy . ./OldLogFiles *.log /MOV /MINAGE:5 /NS /NC /NDL /NJH /NJS
When I run it, it looks like it recopies the files in the /OldLogFiles folder too.  It list all the filenames and the filepath.
I am trying to run this also on Windows Server 2008 R2 Standard (if that makes a difference).
Thanks for any help,


Fred

Read other answers
RELEVANCY SCORE 38

I have created a robocopy.bat as below :

robocopy C:\Users\Faust_000\Documents\Alfredo "F:\Backups Documents" /e /mir /z /np /tee /log:Alfredo_log.txt

and I have created a Planned Activity into the Planning Utility to run at certain time every day.

Now my question is :
1. if manually activeted by double click robocopy.bat it perfectly works and the log.tx file is created
2. if I execute the robocopy by the Planned Activity (by manually Excute or automatically at the planned time) the robocopy is done correctly but the log.txt file is not created or updated.

I did both on W7 Professional 64bit and on W8.1 64bit but no difference.
Could someone help me to understand why the difference of results manually and via Planned Activity ?
Thank in advance.
Blau0179

A:Robocopy

I don't use Robocopy or Planned Activity but it might perhaps be related to the current directory when the bat file is executed. If so, the other log file should be somewhere on your system and you could search for it.

I mean when you manually run the bat file you get a certain "current directory", but in the other scenario you get another directory. You can try to include a path for the log parameter or move to a certain directory with the cd command in the bat file, before the robocopy command.

Read other 2 answers
RELEVANCY SCORE 38

I'm trying to use robocopy to copy files and subdirectories from a zip drive to a hard drive and include the original modification dates using the /copyall attribute. By just copying it within Windows 7 professional every subdirectory shows up
with a current modification date. So when using /copyall I keep getting the error message "you do not have the manage auditing user right". Don't know what that means - right as in correct, or right as in permission. Either way, is
there some way to do this?

Read other answers
RELEVANCY SCORE 38

Basically I would like to copy from my Skydrive to copy to my NAS once a day everyday. I know some of the basics but need help with specifics like copy to folder and making sure the newest file exists as the saved copy.

Here we go!

Robocopy C:\Users\Clive\SkyDrive\Documents B:\ /
Thanks guys for comments!

A:Robocopy. Can someone help please!

If your looking for a clean way to do that, you should look at Microsoft Richcopy which is a GUI'd + version of Robocopy. I've used it for years and it works fine under Windows-8.

For more info see: Free Utility: RichCopy, an Advanced Alternative to RoboCopy
Online Guide & extra info: RichCopy Guide - ETCwiki

Hope it helps.

Read other 3 answers
RELEVANCY SCORE 38

Does Robocopy /MIR copy all files or just the ones that are added and those that are changed? I don't want to start this if it is going to take hours and hours. thanks...

A:Robocopy /MIR

Just the changes.

Read other 7 answers
RELEVANCY SCORE 38

I have Windows Vista Home Premium and somebody recently mentioned to me about Robocopy to use from cmd. Unfortunately I got into a mess and cmd froze so that I had to force shut down.

Can somebody kindly let me know how to use robocopy to copy files and directories my document on C: drive into external hard drive J: in a simple language as possible.

Thank you very mcuh.

A:Robocopy

Welcome
This is how robocopy is used:
How to Copy Vista to Another Hard Drive | eHow.com

That being said, I would like to mention that in several years of helping out at the Vista Forum, this is the first question about robocopy. Most members use Macrium Reflect to make monthly backups. These backups are always available in the event of a catastrophe with the OS. It can also be used to transfer to another drive.
Macrium Reflect FREE Edition - Information and download

Read other 10 answers
RELEVANCY SCORE 38

I have been forced by the man to switch to vista. I had a simple xcopy to duplicate a folder structor. Would someone be kind enough to translate this into robocopy for me?

xcopy r:\_DND\*.* r:\SMcbrid2\ /E /O

Thanks for the help

A:Robocopy

Here you go:

Code:
ROBOCOPY r:\_DND\ r:\SMcbrid2\ *.* /E /COPYALL

Read other 1 answers
RELEVANCY SCORE 38

Need to back up data-drive regularly on drive F and send to data-drive G

Robocopy has been mentioned as win7 built-in. I'm confused what is it & how to use it?

A:Robocopy how?

ROBOCOPY - Create Backup Script

Read other 2 answers
RELEVANCY SCORE 38

I am reporting a bug with the program robocopy.  My system is Windows 7 32bit.
The bug was introduced when hotfix kb3125574 was applied.

The bug seems to be that now, robocopy, is using the "access time" of the source
file to determine if the file is to be copied to the target.

Every copy that is executed by robocopy in annotated in the robocopy log with
the tag "new file" "newer" "older" "changed" ... etc.  With this bug, the copy
is noted in the log, but the tag (field) is blank

I was able to duplicate this, the console session is attached.

This bug has rendered robocopy useless.
console log listing

Read other answers
RELEVANCY SCORE 38

Hi there,

I want to use ROBOCOPY to move any file that is older than 30 days.
I've tried this command but it seems to move the file anyway, even though the file is only 4 days old:

robocopy * C:\b2d C:\archive /mov /minage: 01-04-2011

From "/minage: 01-04-2011" i thought it would only move files that are at least 30 days or more old. But this seems to move everything.

Can anybody explain why this is happening? Is it because i used a wildcard on files, will that not look at the file age?

Thanks!
 

Read other answers
RELEVANCY SCORE 38

I am runing  window 7 32bit.  I run  robocopy to backup  files and dirs  ? I noticed lately that the process is coping files that are not subject to copy, ie the source and target files are exactly the same ? I use the /mir robocopy
switch  

When  roboopy copies a file from the source to the target, it will tag the copy in the log, ie ?newer? ?new files? ?older?   - etc ? in this case there is no tag on the copy log  and the summary at the end of the job reports all the source
being copied. 

I have windows 7 on other computer and this  operation works  correctly on those computers  ? the only difference were this is not working it seems that version of windows 7 has fix  KB2639043 installed. 

I went  as far as to write a program to show the 64 bit time stamp (both the modified and create times) and an compare them  on the source and target files and they are EXACTLY the same (the file size is also the same in both files) 

Lastly, I tried ?synctoy? and that ?did the right thing? ? so there is some sort of bug with robocopy  ? How can I report this issue?   

Read other answers
RELEVANCY SCORE 38

Hello all,

To save my life I could not get the Robocopy GUI to work. I have no problem using it with command line by dropping in to CMD.

Tried the GUI it reported that the job is finished as soon as I click "RUN" but nothing copied.

Thank you kindly,
Nid

A:I need some help with Robocopy GUI please.

Why not just put the command line commands in a bat file and run them like that? It's how I do my backups.

Read other 2 answers
RELEVANCY SCORE 37.6

We are migrating our file server from Novell to Windows and I will be using Robocopy to do the copy. i know I cannot move the Novell rights so I have setup the folders (blank) on the destination ahead of time with the rights I want. I was going to just use the MIR switch to keep things in sync but read that MIR could overwrite the rights on the destinantion, is this true? I am not trying to do anything with rights and don't want any rights being assigned or changed.
Am I better off using /E /Purge or /MIR.....or would I be better off with a different program like RichCopy.
Thanks for the advise,
Scott

Read other answers
RELEVANCY SCORE 37.6

Hi All,

Quick question regarding robocopy. I am not that great in using it but I did manage to figure out that how to do basic copying and mirroring. My main issue is copying over files that have security permissions.

At this point, I have this:
Code:
robocopy c:\foldername e:\foldername /copyall /mir
What would I add and does it matter where I place the syntax for it to work?

Help appreciated.

EDIT: Figured out the security part. How would I get the script to still copy everything in the folder if its being used by someone else or they forgot to close it?

Thanks.
 

A:Robocopy script

Robocopy cannot do it by itself.
http://ithelp.cveg.uark.edu/IT_Help/Documents_files/backup.pdf
 

Read other 3 answers
RELEVANCY SCORE 37.6

Having trouble with quotes and folder names with spaces.
Cannot get it to run w/o an error.

SET _source=\\fs1\data\shared\"Carolyn Kris Nancy"
SET _dest=\\fsarchive\archiveshare\"Carolyn Kris Nancy"
SET _what=/COPYATOU /E /MOVE /MINAGE:1095

ROBOCOPY %_source% %_dest% %_what% %_options%

I receive this error;
E:\Batch Move>robobatcharchive
-------------------------------------------------------------------------------
ROBOCOPY :: Robust File Copy for Windows :: Version XP010
-------------------------------------------------------------------------------
Started : Wed Apr 25 10:35:14 2012
Source - \\fs1\data\shared"Carolyn\
Dest - E:\Batch Move\Kris\
Files :
Options : /COPYAT /R:1000000 /W:30
------------------------------------------------------------------------------
ERROR : Invalid Parameter #3 : "Nancy \\fsarchive\archiveshare"Carolyn Kris Nanc
y"
Simple Usage :: ROBOCOPY source destination /MIR
source :: Source Directory (drive:\path or \\server\share\path).
destination :: Destination Dir (drive:\path or \\server\share\path).
/MIR :: Mirror a complete directory tree.
For more usage information run ROBOCOPY /? or read Robocopy.Doc.
NOTE: Read "True Replication" in Robocopy.Doc prior to first use of /MIR !
**** /MIR can DELETE files as well as copy them !
E:\Batch Move>robobatcharchive
 

A:Solved: RoboCopy

You need to put the quotes around the entire path:
"\\fs1\data\shared\Carolyn Kris Nancy"
 

Read other 3 answers
RELEVANCY SCORE 37.6

I'm trying to use Robocopy to copy from My Documents to a network path similar to the following: \\it\shared documents\my folder. When I try to use Robocopy, I receive the following in the log file.

D:\Documents and Settings\<my user>\My Documents\TMI\
2008/09/29 13:05:45 ERROR 31 (0x0000001F) Changing File Attributes D:\Documents and Settings\<my user>\My Documents\TMI\
A device attached to the system is not functioning.

Googling this error code hasn't gotten me very far. Any ideas?
 

Read other answers
RELEVANCY SCORE 37.6

Hi all, quick question.

I have used Robocopy to back up all my photos etc. for yonks, set it so that it mirrored by files on my main laptop. I have since had the need for faster and bigger storage and so have invested in a NAS. Awesome.....BUT...

when I run my script it no longer detects that a copy of the file already exists - it thinks every file is 'newer' and so it copies everything again (not funny given it's 50Gigs!)

My script consists of several lines like this...it's very simple(!)..

robocopy "c:\Users\Steve\my pictures" "\\LS-XHLA97\backup\sr-backup\pictures" /mir /xd *.lrdata

robocopy "c:\Users\Steve\Modo" "\\LS-XHLA97\backup\sr-backup\Modo" /mir

Any ideas? Or suggestions for another way of doing this type of backup?

Many thanks
Steve
 

A:Robocopy and NAS problems...

Read other 8 answers
RELEVANCY SCORE 37.6

I have a quick question, is the Robocopy.exe in Windows 8.1 compatible with Windows XP or do I have to use the one in the Resource Kit?

I could download the kit, but I don't want to download the entire resource kit on each client that uses our software, as our software that utilizes it only requires the robocopy.

A:Question about Robocopy

You can use the Download Windows Server 2003 Resource Kit Tools from Official Microsoft Download Center for XP

Read other 2 answers
RELEVANCY SCORE 37.6

Evening all,

Just curious to know if anyone uses the built in utility to backup software on your machine, im trying to backup my itunes folder to an external HD but having a few issues to get this to work properly! I also use sync toy for backing up but just really want to know what everyone else uses?

As for image backups you cant beat Macrium Reflect imo

A:Anyone use robocopy to backup?

I don't use it myself, but have you tried the Robocopy GUI? On the same site there is a write-up of the RichCopy tool.

I haven't tested RichCopy on Win7 but I have tested the Robocopy Gui and it works fine.

EDIT: I just downloaded and installed RichCopy and it appears to be working fine in Win7.

Read other 2 answers
RELEVANCY SCORE 37.6

Within ROBOCOPY i need to write a script that will compare one folder to the other. The differences will be copied to a third folder and after copied to a third folder be copied back to the second folder.

Compare Folder 1 to Folder 2. Differences in 1 to 2 get copied to Folder 3 and after copied it will be copied to folder 2.

Anyone have any ideas?
 

A:RoboCopy question

Hi and Welcome!
May be better in the development section of the forum, as that is for scripting.
Click the red triangle next to your post and ask for it to be moved.
Kind Regards
Anthony
 

Read other 1 answers
RELEVANCY SCORE 37.6

G'day,

Problem description: after my Vista laptop crashed (hung up in windows start-up loop) I used

robocopy c:\ d:\complete /mir ..... from the restore cmd prompt to make a backup of ca. 50gb to external hdd.

I then installed Windows 7 on the machine and used

robocopy d:\complete c:\complete /mir ... so I would be able to pull whatever folder I need to the new system.

The problem is the in both version I can see robocopy in the cmd shell copying the files in their respective folder hierarchy (which takes ages!). But on both, C: and D:\complete, I only see a folder "4d0a0xxxxx00e8e4c7332a3a394c". Right-click on the folder gives a size of approx. 6mb only, although my c: hdd space was reduced by ca. 50gb???? So, I assume the restore did work, and this is a permission problem.

I tried to take ownership of the folder under the new system to no avail. (just to clarify: i use the same username and pwd under win7 as under vista, and lost pwd is not an issue, in case i would need it to gain access)

All input highly appreciated! Thanks,
Rick

Read other answers
RELEVANCY SCORE 37.6

I use the robocopy command all the time and it works perfectly, but for some reason I'm running into an issue. I'm
trying to copy the content of one network share to another. I've never had an issue before doing so.

I run the command like this: "robocopy n: x:\Misc /e /copy:dat /xo /zb /w:2 /r:2

Error message, "Error 4390 (0x00001126) Accessing Destination Directory x:\Misc The file or Directory is not a reparse point."
I did open CMD as an administrator prior to running command.

What is a reparse point and why does Microsoft need a reparse point for this particular copy job to copy these folders and files?
I noticed while searching for an answer I ran into this post:
https://social.technet.microsoft.com/Forums/ie/en-US/5cd00366-79f0-4459-b38c-f23fed453624/robocopy-error-4390?forum=winserverfiles
This guy had the same issue but nothing was resolved.
If I use a 3rd party software like Teracopy I can copy just fine but not with robocopy.
 

Read other answers
RELEVANCY SCORE 37.6

Hello Everyone,

I have been working on this for the past three days getting no where.

The system I am trying this on is a Win7 64 bit Home Ed., what I am trying to do is get a batch file created where it copies certain files to an external hard drive. Yes I am already using the Windows Backup that is included but I want to do this as an extra measure.

I have been trying to get the following command to work:

robocopy C:\Users\pare80\Documents E:\backup\Docs /E /CREATE /MIR /SEC /ZB /R:3 /V /FP /TEE /XJ

It looks like the command ran, but when I go to the E drive the folder backup is there but nothing else.

Any help will be greatly appreciated.

Thank You,

-- ParE

A:Robocopy Issues

Take the switch /CREATE away from your string. It only copies the folder (directory) structure with 0-lenght files (placeholders). Your command string should otherwise work just fin. Remember to run command prompt as administartor.

Read other 1 answers