|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 | |
|
Member (9 bit)
Join Date: Mar 2001
Location: Illinois
Posts: 352
|
Command File Help
I have a command file that I use to copy files from the original location, to a backup location. I just noticed, that the "Files" are copying OK, but the "Folders" contained in the source folder, are NOT being copied.
Can anybody help me edit this file to also copy the folders? Quote:
|
|
|
|
|
|
|
#2 | |
|
Premium Member
Join Date: Jun 1999
Posts: 9,231
|
Use the /S switch to copy all the non-empty directories & sub-directories .. or the /E switch if you want the empty ones as well.
Example: Quote:
|
|
|
|
|
|
|
#3 |
|
Forum Administrator
Staff
Premium Member
Join Date: May 2000
Location: Joplin MO
Posts: 37,776
|
Remember it this way - "richkey". That brings absolutely everything over, includes attributes, will overwrite read-only files, and it won't stop on errors.
/r/i/c/h/k/e/y |
|
|
|
|
|
#4 |
|
Member (9 bit)
Join Date: Mar 2001
Location: Illinois
Posts: 352
|
It works!
Thanks guys...I'm glad i discovered this shortfall, before i needed it. |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|