Page 1 of 1 1
Topic Options
#124366 - 2004-08-04 12:38 AM How Does one Make ROBOCOPY Create the source root directory
IowaDave Offline
Lurker

Registered: 2004-08-04
Posts: 2
In the following example:
Robocopy /COPYALL /E C:\VOBBackup\08\Payroll c:\ccstg_d\VOBs
How does one get robocopy to create Payroll directory?
It copies the files from Payroll and its subdirectories and files, but throws them in the destination at VOBs instead of creating the Payroll dir. I would just create it but the idea is to get the security on Payroll copied too.

Top
#124367 - 2004-08-04 12:44 AM Re: How Does one Make ROBOCOPY Create the source root directory
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
First off, this is not a KiX question so you posted to the wrong forum. To copy the security for the Payroll folder, copy the folder separately.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#124368 - 2004-08-04 01:36 AM Re: How Does one Make ROBOCOPY Create the source root directory
IowaDave Offline
Lurker

Registered: 2004-08-04
Posts: 2
Thanks and sorry for the mistake.
Top
#124369 - 2004-08-04 07:52 AM Re: How Does one Make ROBOCOPY Create the source root directory
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
that is the meaning of the destination paramater.
Robocopy /COPYALL /E C:\VOBBackup\08\Payroll c:\ccstg_d\VOBs\Payroll
_________________________
!

download KiXnet

Top
#124370 - 2004-08-04 02:09 PM Re: How Does one Make ROBOCOPY Create the source root directory
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
What should be key here is that you follow the switches for ROBOCOPY. There is help available from ROBOCOPY.EXE itself, just use a /? or /??? or the DOC file too.

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
1 registered (Henriques) and 2516 anonymous users online.
Newest Members
fgarcia, Viginette, ManuvdWielNL, Sir_Barrington, batdk82
17889 Registered Users

Generated in 0.062 seconds in which 0.032 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org