February 20, 2008 at 2:17 pm
Hello all,
I was wondering if there is way of copying the entire substructure of a directory to another directory. How can I do this without copying the actual files in Windows of course.
I know this is can be done in Unix easily, but, you know how it is...
🙂
John Esraelo
Cheers,
John Esraelo
February 27, 2008 at 8:33 pm
I do not think you can do it in Windows. Read the last paragraph in this article.
http://www.microsoft.com/technet/scriptcenter/guide/sas_scr_klwf.mspx?mfr=true
February 27, 2008 at 9:07 pm
You could script this, but it would require some recursion to dig through all the subs, copy them, and ignore the files.
February 27, 2008 at 9:31 pm
command prompt> xcopy foldera folderb /T /E
command prompt> xcopy /? --- for more options
February 28, 2008 at 10:20 am
Thank Vivien. I forgot this command.
February 28, 2008 at 11:13 am
YOU GUYS rock...
eventhough I was looking for the copy command options, but, I think I will be happy with... this is great.
I have not worked with VFP until end of the last year and this year and I have found out that xcopy is damaging vfp files during the copy process over the wan, but not the copy command.
anyway, I am very glad this option is available under the xcopy command..
thank you again...
good times...
John Esraelo
Cheers,
John Esraelo
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply