|
Answer» Hello,
I'm tring to make a batch file to COPY all content within a folder to another. It works with files, but not with folders.
So my problem is: how can I make a batch file to copy all files *and* folders from folder X to folder Y. Could someone help me, please?
What I did: -- @echo off copy C:\Test\X\*.* D:\Test\Y echo Done and Done!
--
Thanks! Domingosi think it must look sth like this * get folder, subfolder names and echo them to file * use for command to make folders using OUTPUT file * copy files
i might be wrong coz on new SP on Vista is robocopy commandLook into xcopy, that allows you to pass a switch to copy directories
From Command prompt, TYPE xcopy /?xcopy was exactly what I was searching for!!
Thanks!!!!!
Your WELCOME.
|