search
Japanese Chinese Nederlands Espanol Italiano Deutsch Francais Twitter Rss Feeds
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

Web ProgrammingArticlesForumsFAQs
JavaScript
ASP
ASP.NET
Web Services

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

DatabasesArticlesForumsFAQs
SQL Server
Access
Oracle
MySQL
Other Databases

OfficeArticlesForumsFAQs
Excel
Word
Powerpoint
Outlook
Publisher
Money

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

 


 


 
  hi
Bill Look replied to FRED SHIKE at Monday, April 20, 2009 9:49 PM
hi

try this

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

w is network mapped drive
thank you
 
ROBOCOPY
Venkata K replied to FRED SHIKE at 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%
 
  RE::ROBOCOPY
egg egg replied to FRED SHIKE at 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 *.*