Search EggHeadCafe's Job Board
EggHeadCafe Silverlight WPF ASP.NET VB.NET C# Excel SQL Server SharePoint
search
MicrosoftArticlesForumsFAQs
C# .NET
VB.NET
Visual Studio .NET
ADO.NET
Xml / Xslt
VB 6.0
.NET CF
GDI+
LINQ
Deployment
Security
FoxPro
Silverlight / WPF
Entity Framework
RIA Services

WebArticlesForumsFAQs
JavaScript
ASP
ASP.NET
WCF

DatabasesArticlesForumsFAQs
SQL Server
Access
Oracle
MySQL
Other Databases

OfficeArticlesForumsFAQs
Excel
Word
Powerpoint
Outlook
Publisher
Money

Non-MicrosoftArticlesForumsFAQs
NHibernate
Perl
PHP
Ruby
Java
Linux / Unix
Apple
Open Source

Operating SysArticlesForumsFAQs
Windows 7
Windows Server
Windows Vista
Windows XP
Windows Update
MAC
Linux / UNIX

Server PlatformsArticlesForumsFAQs
BizTalk
Site Server
Exhange Server
IIS

Graphic DesignArticlesForumsFAQs
Macromedia Flash
Adobe PhotoShop
Expression Blend
Expression Design
Expression Web

OtherArticlesForumsFAQs
Lounge
Subversion / CVS
Ask Dr. Dotnetsky
Active Directory
Networking
Uninstall Virus
Job Openings
Product Reviews
Search Engines
Resumes

 

  View Other Windows Server Posts   Ask New Question  Ask New Question With Power Editor

ROBOCOPY
FRED SHIKE posted at Monday, April 20, 2009 3:38 PM

tring to copy my shared dirve to the d: drive of a diferent serve(valley2) .

Is the following correct ?

ROBOCOPY  d: \shared\*.*  d:\\valley2\backup /mir /copyall

 


 

Reply    Reply Using Power Editor
  Rank Winnings Points
November 0 $0.00 0
October 0 $0.00 0
hi
Bill Look provided a rated reply to FRED SHIKE on Monday, April 20, 2009 9:49 PM

hi

try this

xcopy w:\folder\*.xls f:\Budget\Data\

w is network mapped drive
thank you
Reply    Reply Using Power Editor
My name is Bill Look, and my profession is software developing since 2006 (having more than 4 years experience) and holding MCTS,MCPD certifications and most of developments are based on MS technologies .Specifically ASP.NET ,Sharepoint and Widows Mobiles. I have worked on ERP systems also.
  Rank Winnings Points
November 7 $39.00 95
October 3 $71.00 241

ROBOCOPY
Venkata K replied to FRED SHIKE on Monday, April 20, 2009 10:11 PM

Create this as a batch file then run it twice.

@ECHO OFF
SETLOCAL
 
SET _source
=\\FileServ1\e$\users
 
SET _dest
=\\FileServ2\e$\BackupUsers
 
SET _what
=/COPYALL /B /SEC /MIR
:: /COPYALL :: COPY ALL file info
:: /
B :: copy files in Backup mode.
:: /SEC :: copy files with SECurity
:: /
MIR :: MIRror a directory tree
 
SET _options
=/R:0 /W:0 /LOG:MyLogfile.txt /NFL /NDL
:: /R:n :: number of Retries
:: /
W:n :: Wait time between retries
:: /LOG :: Output log file
:: /
NFL :: No file logging
:: /NDL :: No dir logging
 
ROBOCOPY %_source% %_dest% %_what% %_options%
Reply    Reply Using Power Editor
  Rank Winnings Points
November 10 $15.00 36
October 8 $30.00 103

RE::ROBOCOPY
egg egg provided a rated reply to FRED SHIKE on Monday, April 20, 2009 10:42 PM

You could use any of the following for performance related issues too taking care of...
robocopy \\sharedDRive\shared d:\\valley2\backup /w:30 /r:13

robocopy /mir \\SharedDrive\shared\ d:\\valley2\backup\ /XD dirs $RECYCLE.BIN /XN /XO

In your syntax, i suppose it works if you remove *.*


Reply    Reply Using Power Editor
  Rank Winnings Points
November 9 $17.00 41
October 21 $0.00 11