Over 1 million tech questions and answers.

Robocopy mass nesting bug

Q: Robocopy mass nesting bug

Didn't know where else to put this so I hope this is good.

Twice now I have experienced a issue with robocopy where while copying a user folder it mass nests the Application Data folder within Local. It replicates this to both \User\AppData\Local and \User\Local Settings. Weird thing is Local Settings is just a place holder to point legacy programs to the new location so why robo copy created a folder from this I am not to sure. Both times I have had this happen it has replicated the Application Data folder so many times within itself that it fills the HDD down to the last byte. And since it is nesting it the path is far too long for any standard windows command to do anything with this structure. For example my last instance of it replicated about 15,000 files into over 200,000 from ~9GB to over 80GB and over 30 directories deep. Not sure if there is any end to it or if it does just keep repeating until the drive is full. Some loop issue with the local settings place holder?

Anyway to delete this massively nested directory structure I have found two methods.

1. Boot into Ubuntu (or any distro of your chooseing... I like the Ubuntu live CD) and delete the folder from there. In Ubuntu it moves into the trash so you have to delete it from there as well.

2. Use robocopy again to copy over a nul directory. For instance I created a empty folder called empty on the root of C and then as follows ROBOCOPY C:\EMPTY "X:\USERS\ADMINISTRATOR\APPDATA\LOCAL\APPLICATION DATA" /NOCOPY /PURGE which then deletes all extra files that are in the directory that are not in empty. Works very quickly and effectively.

Before discovering the last technicque I formatted my drive the last time to correct this issue as the drive was empty anyway.

To prevent this from happening again I temporarily moved the local settings place holder out of the source directory and created the files local settings and application data with no extensions in there appropriate places to prevent robocopy from creating those directories in the first place. However while watching I didn't even see it attempt to do this (would have seen a cannot write destination or some error to that extent) so it seems removing the local settings place holder corrected it.

Just thought I would share and see if anyone could give some insight into this issue/bug.

RELEVANCY SCORE 200
Preferred Solution: Robocopy mass nesting bug

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 mass nesting bug

This sounds as though it could have something to do with junctions. Have you tried the command with the /XJ switch? You might need to use /XJD (Directory) or /XJF (File) switch instead. This switch tells Robocopy to ignore or eXclude the specified type of Junction point. These are included by default.

Read other 9 answers
RELEVANCY SCORE 48.4

Hoping that somebody will salvage my weekend by sparing me the time and effort of trolling through infinite URLs of Excel formula examples!

Looking for a formula that will reduce my number by a certain percent based on where the number falls in a range of numbers. For example.....,

Number=N, Range=R1,R2,R3, ect.

If N >=R1 & <=R2 then reduce N by 30%

If N >=R3 & <=R4 then reduce N by 40%

If N >=R5 & <=R6 then reduce N by 45%

With this,I believe I can complete my worksheet without excessive use of time, caffine, and nicotine.

Currently at work. Will check back later.

Thanks,
Cat Man
New techguy fan
 

A:Solved: Help with Nesting????

Read other 16 answers
RELEVANCY SCORE 48.4

I am trying to make a sheet containing two teams. when iam trying to put IF function to get the name of team who will bat I am getting FALSE.
only in one case i get the answer when B3 = B1 and D3="bat" rest in other cases I get false answer.
requirement is when B3=B1 and D3 ="bat" then F3=B1, if D3="bowl" then D1,
similarly when B3=D1 and D3="bat" then F3=D1, if D3="bowl" then B1.
Iam not able to put this argument in if function.
 

A:help in nesting IF function

Read other 7 answers
RELEVANCY SCORE 48

Is there a way to nest or embed Metro tiles so they act like folders? For example, Microsoft Office deposits at least eight tiles on my Start Screen. I rarely use any but Word and Excel, so I would like simply a generic "MS Office" tile that, when clicked, gives me all of the Office tiles.

I know I can make a folder from a bunch of shortcuts and then pin that folder to the Start Screen, but I'm looking for something that stays within the realm of Metro Tiles.

A:Metro Tile Nesting?

Originally Posted by patrickd314


I'm looking for something that stays within the realm of Metro Tiles.



http://www.eightforums.com/general-d...tart-menu.html

This is probably not what you had in mind, but this is Windows 8.

Read other 4 answers
RELEVANCY SCORE 48

Hello everybody,

I have been trying to figure out how to create folders and have favorites in them in the Edge browser. I have a ton of favorites that are organized by folder of what topic they deal with. My googlefu seems to point to an answer of no folders on the favorites bar, just an endless list of items. Knowing Microsoft the way I do this seems very unlikely, my take is that they love nesting.

Any suggestions?

A:Nesting favorites in Edge

Microsoft Edge now lets you add new folders, drag and drop items from the favourites list and generally sort out the nesting to your hearts content. All this from the dropdown menu icon at the top right (the three horizontal lines).

Read other 2 answers
RELEVANCY SCORE 47.6

Hi there.

It seems some CPU's will handle HYPER-V in a VM running on a Host where a HYPERVISOR (KVM in this case) is already running.
One needs to make a few mods otherwise booting up the VM running UNDER the HYPER-V (the 2nd level VM) will freeze.

I'm currently playing with this -- it looks like some modules from QEMU need to be updated -- and one needs to use IOMMU to get any sort of decent I/O throughput - even on SSD's.

I'll post back when I've got some better results -- note I haven't a CLUE about AMD CPU's . I think also getting USB and SOUND on to the second level VM could be a problem. PCI passthru is pretty easy from the KVM Host to the Windows VM (ist level) but passing that to the second level VM is proving somewhat problematical.

(HOST --CENTOS 7 with KVM, ist level VM W10 pro with HYPER-V enabled, second level VM W7 ultimate -- all x-64 machines).

I believe also performance can be improved by switching from Full virtualisation to "Para virtualision" on the guests -- easily enough done with settings in KVM - but then passthru gets a bit ????.

Anyway I've got some time to play with all this --when I'm done I'll post a guide. It should work also for most other common Linux distros capable of running KVM.

Tip - don't use the libvirt manager GUI as a console for your VM's as once in Full screen you can't always get back to Windowed mode -- might be my mouse etc. Use RDP / VNC instead -- no problem connecting to VM's even if you are ru... Read more

Read other answers
RELEVANCY SCORE 47.6

office 2003, xp

I need to be able to proform several mathmatical operations, but don't quite understand how to nest properly
the formula is something like this(32-input)x397)/231
as you can see from my attachment I'm able to get the results but have to use cells [that I would have to hide] for the sub totals?

I also need the output to be blank, if there is no input
I have trouble following the help file, as the questions I'm asking are very basic & the examples are more complex than what I'm doing. Is there a better resource on the net?
I understand the power of spreads & I'm trying to learn by doing.
I'm measuring the distance from the top of a barrel to the liquid, my result is the # of gallons in the barrel.

Thank you
 

A:multiple operations (nesting) Excel

Read other 16 answers
RELEVANCY SCORE 47.6

So, is there a limit to how deeply environment variables can be nested in Windows? I do a lot of development work and I'm trying to set up my development environment vars, and a lot of them nest off each other, ie.

FOO=C:\path\to\foo
FOO_BAR=%FOO%\bar
BAR_ETC=%BAR%\etc

I'm having some trouble getting Windows to expand all of them. Eventually when I look at 'set' I get an output like:

FOO=C:\path\to\foo
FOO_BAR=C:\path\to\foo\bar
BAR_ETC=%BAR%\etc
Is there some limit to how deeply it'll expand envvars? Is there a way to coax it into looking more deeply? A registry entry perhaps?

Thanks all!

A:Limits to environment variable nesting?

Have you enabled delayed expansion?

Read other 9 answers
RELEVANCY SCORE 46.8

Problems Im currently have and my system restoration is off too.

1. Windows update keeps popping up with windows pack 2, which i already updated.

2. Ad-aware SE - everytime i scan MRU keep coming back even though i already deleted it.

3. Cant login to safe mode, I restart my pc, then hit f8 and yes i see the safe mode and i choice it, 4 seconds later the screen turns black
and stays in the black screen for couple seconds and my pc restart.

4. Internet Browser - When I open my internet Browser it give me blank page, even though it says google.com

5. Pop-ups - I suspect its one of the hidden trojan/malware/dialer on my system. *SURFSIDEKICK 2*

Logfile of HijackThis v1.98.2
Scan saved at 7:49:58 AM, on 10/27/2004
Platform: Windows XP SP1 (WinNT 5.01.2600)
MSIE: Internet Explorer v6.00 SP1 (6.00.2800.1106)

Running processes:
C:\WINDOWS\System32\smss.exe
C:\WINDOWS\system32\winlogon.exe
C:\WINDOWS\system32\services.exe
C:\WINDOWS\system32\lsass.exe
C:\WINDOWS\system32\svchost.exe
C:\WINDOWS\system32\svchost.exe
C:\WINDOWS\System32\svchost.exe
C:\WINDOWS\system32\spoolsv.exe
G:\PROGRA~2\ALURIA~1\ASE\ASE.exe
c:\Program Files\PestPatrol\ppcontrol.exe
C:\WINDOWS\explorer.exe
C:\WINDOWS\system32\notepad.exe
C:\HJT\HijackThis.exe

R0 - HKCU\Software\Microsoft\Internet Explorer\Main,Start Page = http://google.com/
R3 - URLSearchHook: (no name) - {CA0E28FA-1AFD-4C21-A8DC-70EB5BE2F076} - C:\Program Files\SurfSideKick 2\SskBho.dll
O4 - HKLM\..\Ru... Read more

A:Virus/Trojan/Malwer nesting on my system??

Hi


Turn off System Restore:

On the Desktop, right-click My Computer.
Click Properties.
Click the System Restore tab.
Check Turn off System Restore.
Click Apply, and then click OK.
Restart your computer.

When you are sure you are clean turn it back on and create a restore point.(later)



Open Task Manager (ctrl+alt+del)
End process if found


Ssk.exe

Run Hijack This again and put a check by these. Close ALL windows except HijackThis and click "Fix checked"

R3 - URLSearchHook: (no name) - {CA0E28FA-1AFD-4C21-A8DC-70EB5BE2F076} - C:\Program Files\SurfSideKick 2\SskBho.dll
O4 - HKLM\..\Run: [SurfSideKick 2] C:\Program Files\SurfSideKick 2\Ssk.exe
O4 - HKCU\..\Run: [SurfSideKick 2] C:\Program Files\SurfSideKick 2\Ssk.exe


Now find and delete Folder (add/remove prog)

C:\Program Files\SurfSideKick 2\Ssk.exe

navigate to the C:\Windows\Temp folder. Open the Temp folder and go to Edit > Select All then Edit > Delete to delete the entire contents of the Temp folder.

Go to Start > Run and type %temp% in the Run box. The Temp folder will open. Click Edit > Select All then Edit > Delete to delete the entire contents of the Temp folder.

Finally go to Control Panel > Internet Options. On the General tab under "Temporary Internet Files" Click "Delete Files". Put a check by "Delete Offline Content" and click OK. Click on the Programs tab then click the "Reset Web Settings&quo... Read more

Read other 12 answers
RELEVANCY SCORE 43.2

I am a player. I play FPS, MMORPGs and just any kind of PC games. I love taking screenshots.

Everytime I take the screenshot it will always be bitmap file which is huge! and take alot of space... I have over 6 thousands images.

I am seeking a program that let me Mass convert to jpeg file at once and Mass resize without losing quality at once. Do you recommend any? Do you know any? I want a one program... 2 in 1... 1 in 2..... that lets me Mass convert to jpeg and Mass resize without losing picture quality.

I tried ReaJPEG but since I convert thousands of picture at once... its slow... does any program that is quicker?

I like to take game screenshot... I want to convert all my screenshots all at once... thousands of pictures and I want to resize all at once without losing picture quality. I want a one piece program that lets me do all this. Is these any?

I am a screenshot taker but it is taking up my hard drive since it is bitmap file. I need to a program to convert it all to jpeg all at once and I need to resize it all at once without losing image quality... is there any program that does this?

My grammar is not well
 

A:Mass Convert, Mass Resize

when taking the screenshot
use the PrtSc button,
launch accessory-Paint
then PASTE into the Paint window

now just SAVE AS ... and change the format to jpg and add .jpg to the file name

edit:
there's a great utility called Graphic Converter which originally was for Macs but
I see http://www.etrusoft.com/download.htm has that product for PCs.

If it's a faithful port from the Mac, then there is a Convert More and/or Bulk Convert feature.
 

Read other 3 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

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

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

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

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

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

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

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

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

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

Hi
I've just recently realized that copying folders to a backup hard drive resets their "created" date. Should my computer ever crash, all my backup files will state to have just been created on that certain date.

Me, being the organize-freak I am, have been looking for a solution so my backed up files can have the same time stamps as on my computer right now.

I've done a little searching, and have found that people always recommend Robocopy. Problem is, I can't understand a word of the tutorials. Is there anyone with a layman's explanation for how to run Robocopy to carry out what I want?

And also just for the heck of it, is Robocopy the only solution? Is there some sort of back up program on Windows 7 that can do that?

Thanks!

A:Timestamp/Robocopy help

Some of the other posters have had similar problems, book1245, so here are a couple of references to other posts that might offer a little bit of guidance:

There’s some help for you in this thread: "Date Modified" changes when copying... Take a look at the post from Bill2 which has, among other things, this site: How to copy or move files and folders whilst maintaining their original time date stamp. | TechHead.co.uk, (and offers advice about your Robocopy problem as well), and the post from Casca which offers this advice: In a command window, run [xcopy] with the following switches: /s/e/c/a/k/h.

See also the post from huge in this thread: "easy transfer" resets folder modified date who apparently found a way to fix his problem, with only a mild amount of pain.

Read other 3 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

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

I've been using Robocopy for a while now and I have found it to be a simple and mostly efficient tool to mirror contents from one drive to another, and I've created a couple of batch files to simplify typing in parameters, like "AF ? ?" to copy my data files from one drive to another.

The thing is, for the last two days my data contents have been mirrored to my HDD partitions and a USB device absolutely fine - only a few files have been modified each time and I can rest assured that the contents are identical. The whole process has only taken a few moments.

But last night, the clocks went back and then earlier today I ran Robocopy once again to mirror my data contents. The HDD copy went without a hitch, but when running it to mirror contents to the USB device it started to recopy EVERYTHING over to it, naming all the files "Older"! What's more, I check the "modified" date/times on both sides and they're identical! I can only assume that the change in the clock from yesterday is the cause, and something unique to FAT32 file format (which the USB is).

The least I want to do is not to copy files with an older timestamp on top of new ones (if that's what's happening) so is there a way I can still use /MIR and use the /XO (exclude older) switch as well?

A:Robocopy help required

Well, I'm trying the /XO switch, and it seems to have worked so far.

Read other 1 answers
RELEVANCY SCORE 37.6

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

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

I've never had a backup routine but am about to begin. Was going to implement RAID 1 but after some forum education am finding out a removable backup disk is what I really want. So, should I assume Robocopy (likely with GUI) is still the way to go for my simple /E /Purge needs? I will be mirroring both a small system drive and a 2Tb data drive.

Cheers!

A:Robocopy still the best option?

Use Macrium Reflect Backup and Hard Disk Imaging for Windows 7, Vista, XP and Server 2003/2008

Read other 9 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

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

Hello everyone been lurking around for awhile, so much knowledge on this forum.

I hope someone can help me, I am just a noob, don't know to much.

I ecently purchased a synology Network Attached Storage (NAS).

and I would like to set up so that files tranfer from one folder to the next automatically, I am not sure what type of line to put into the command prompt?

The original folder is C:\user\recordedtv the other one is on my network and shows up as DISKSTORAGE i have a folder on there called beyondtv and would like to copy all files from C:\user\recordedtv.
How would I do this?

A:Robocopy Synology

Welcome to Seven Forums,

You may definitely setup to sync and backup files automatically to your NAS. Pls check out SyncToy, its a Free cool utility from Microsoft and its easy to setup. Sync files with your NAS ? Cogito, ergo sum

Read other 7 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

Robocopy is a nice tool for backup scripts but for casual use there are a large number of Gui interfaces and Shell Extensions to make using it easier but i am trying to find the one that is the most intuitive and i was wondering if anyone has a list or knows of a place where i can compare the various utilities out there.

Read other answers
RELEVANCY SCORE 37.6

I have been running Robocopy under Windows 8 for a long time without any problems. Now, all of a sudden, I keep getting the error that Robocopy cannot find the Backup_log.txt file, even though it is quite visible in the C: tree directory. Following
is the BAT file we have always been using:-

robocopy Z:\     F:\backup

robocopy Z:\IDENTITIES        F:\Backup\IDENTITIES /e /mir /np /z /tee /log:backup_log.txt
robocopy Z:\LIBRARY           F:\Backup\LIBRARY /e /mir /np /z /tee /log+:backup_log.txt
robocopy Z:\EX_MEMBERS        F:\Backup\EX_MEMBERS /e /mir /np /z /tee /log+:backup_log.txt
robocopy Z:\Magazine_index    F:\Backup\magazine_Index /e /mir /np /z /tee /log+:backup_log.txt
robocopy Z:\VENUES            F:\Backup\VENUES /e /mir /np /z /tee /log+:backup_log.txt
robocopy Z:\MEMBERS           F:\Backup\MEMBERS /e /mir /np /z /tee /log+:backup_log.txt
robocopy Z:\CATHS EVENTS      F:\Backup\CATHS EVENTS /e /mir /np /z /tee /log+:backup_log.txt
robocopy Z:\COMPANY LOGOS     F:\Backup\COMPANY LOGOS /e /mir /np /z /tee /log+:backup_log.txt
robocopy Z:\EQUIPMENT         F:\Backup\EQUIPME... Read more

Read other answers
RELEVANCY SCORE 37.6

Hello,
How can i tell robocopy to exclude a certain final folder, with the folder above changing.
I.e in c:\users\USERNAME\appdata\local\microsoft\windows\WER

I don't want to copy any WER contents, however the USERNAME section of the path obviously changes depending on what user account it is currently backing up... can i use a wildcard at the USERNAME section or how would i do this?
robocopy \\$compname\c$\users\$tname \\destination\$tname /E /ZB /COPY:DAT /XJ /TEE /R:1 /W:1 /MT:10 /XD \\$compname\c$\users\USERNAME\AppData\Local\Microsoft\Windows\WER.
Help would be muchly appreciated...

A:Robocopy Wildcard /XD

Hi Tarrley,
/xf could excludes files that match the specified names or paths. Note that
FileName can include wildcard characters (* and
?). Now that there is not all the files in the directory. You could use /xf command to exclude specific files.
Best regards,
Karen Hu

Read other 5 answers
RELEVANCY SCORE 37.6

I am copying files with dates in the filename (filename_20091127.txt) from one location to another. How can I drop the date from the filename when moving/having moved the files accross? The file types and filenames vary from file to file but the date format will always be '_YYYYMMDD'. Is this something that can be done with RoboCopy and if so, how? If not, with what and how? Thanks in advance.
 

A:RoboCopy Query

Robocopy doesn't rename files.

Welcome to TSG!

For this, I'd use RenameMaster, and just remove the last 9 characters of the file name.

It's on the Scripting tab, about 8th item down, Remove Beginning/Ending

If this is a daily occurrence, you could write a batch file to remove the date after all the files are copied. Not too hard to just remove the last 9 characteers in a name.
If you need to check for resulting duplicates or confirm it's actually an underscore followed by a date it would get more complex.
Code:
Setlocal EnableDelayedExpansion
Set _Folder=C:\Location of Files
PushD %_Folder%
For /F "Tokens=* Delims=" %%I In ('Dir /B "%_Folder%\*.*"') Do (
Set _Fname=%%~nI
Rename "%%I" "!_Fname:~0,-9!%%~xI"
)
PopD

 

Read other 1 answers
RELEVANCY SCORE 37.6

I have been using xcopy to copy data from a file server to a flash drive. That works OK, but after some time the flash drive is cluttered with files and folders that have been moved or deleted from the file server.

I want the flash drive to mirror what is on the file server, so I decided to give ROBOCOPY a try (version XP010 on a Windows XP computer). Here is the line in my batch file:

ROBOCOPY \\fileserver\share\frank\somefolder E:\somefolder /COPYALL /B /MIR /R:0 /W:0 /LOG:MyLogfile.txt

This works fine except the log file reports Error 3 "The system cannot find the path specified" for files in only one subfolder, and deletes all the files in that subfolder from the flash drive.

The subfolder name is "Computer" (which as far are I know isn't a reserved name), and it has the same attributes and NTFS permissions as all of the others.

Any ideas what the problem could be?
 

A:RoboCopy Issue

Noone uses Robocopy?
 

Read other 1 answers
RELEVANCY SCORE 37.6

HI,

I'm trying to add a switch /MAXLAD:n Excludes files with a Last Access Date older than n days or specified date. If n is less than 1900, then n is expressed in days. Otherwise, n is a date expressed as YYYYMMDD.

I only want files that has been modified starting from Sept. 01, 2008 to current.

Am I inputting this correctly? Help

\MXLAD:2008/10/01
 

A:Anyone familiar with Robocopy?

DUH, I figured it out, I took removed the "/" from the date portion.
 

Read other 1 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 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