-
as seen on Server Fault
- Search for 'Server Fault'
I am using Robocopy for backing up my project directories to an external disk, and it works like a charm.
Except for one little issue: sometimes, I wish I could override the destination directory which I specify in my Robocopy Job file (myproject.rcj) to send the files somewhere else.
So if I have…
>>> More
-
as seen on SQL Team
- Search for 'SQL Team'
Robocopy is one of, if not the, best life-saving/greatest-thing-since-sliced-bread command line utilities ever to come from Microsoft. If you're not using it already, what are you waiting for?
Of course, being a Microsoft product, it's not exactly perfect. ;) Specifically, it sets the ERRORLEVEL…
>>> More
-
as seen on Super User
- Search for 'Super User'
Robocopy is preinstalled with Windows 7. I've used it many times in the past. I tried to copy a folder to a remote share with
robocopy c:\source "\\server\share\path" /s /r:2 /w:2`
As a result I get permission denied. Using explorer I can copy files to this share. I've opened a command prompt…
>>> More
-
as seen on Super User
- Search for 'Super User'
When using robocopy windows utility, what flags do I set so that robocopy aborts on the very first error it sees, similar to xcopy /dry command?
I need to mirror two dirs, and on occasion some files would be locked. I do not want robocopy to continue trying to copy files, or override the files that…
>>> More
-
as seen on Super User
- Search for 'Super User'
I have a wireless router and an USB hard drive connected to it. Basic file access on the command line and Explorer works flawlessly after having set up some options on the router and mapping to some folders with
net use k: \\ROUTER\Folder1 /user:MYLAPTOP\Me password /persistent:yes
net use n: \\ROUTER\Folder2…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
Related to this question and this answer http://serverfault.com/questions/48839/backup-on-disc-using-truecrypt-corruption-problem/50829#50829
I want to copy the backup to my HD. However the timeout seems to be a problem. I see many single files then i see
File creation error - Data error (cyclic…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I am using VBScript to copy files using xcopy. The problem is that the folder path has to be entered by the user. Assuming I put that path in a variable, say h, how do I use this variable in the xcopy command?
Here is the code I tried:
Dim WshShell, oExec, g, h
h = "D:\newfolder"
g = "xcopy $h…
>>> More
-
as seen on Super User
- Search for 'Super User'
i basically want to run:
C:\>xcopy [0-9]{13}\.(gif|jpg|png) s:\TargetFolder /s
i know xcopy doesn't support regular-expression filename searches.
i am told that Powershell can do such a thing, although not given any syntax.
Can anyone give the syntax of the above xcopy, but in PowerShell format…
>>> More
-
as seen on ASP.net Weblogs
- Search for 'ASP.net Weblogs'
I did three talks at Mix 10 this year, and I'm going to do blog posts for each one, sharing what I talked about and some code if it's useful. I did a talk on Deployment called " Web Deployment Made Awesome: If You're Using XCopy, You're Read More......(read more)
>>> More
-
as seen on ASP.net Weblogs
- Search for 'ASP.net Weblogs'
I did three talks at Mix 10 this year, and I'm going to do blog posts for each one, sharing what I talked about and some code if it's useful. I did a talk on Deployment called " Web Deployment Made Awesome: If You're Using XCopy, You're Doing It Wrong ." You can download…
>>> More