Page 1 of 1

SC copyto

Posted: 12 Jul 2024 12:26
by Daniel0312
Hi,
In source folder I have some files and a folder (with subfolders).
When using the script below, only files are being copied.

Code: Select all

copyto "C:\Dest\test", "D:\Source\*.*";
From the help file I understand all should be copied.
I just can't see where I'm wrong.
Thanks for any help.

Re: SC copyto

Posted: 12 Jul 2024 12:49
by highend
Just use "*" as the wildcard

Re: SC copyto

Posted: 12 Jul 2024 13:19
by Daniel0312
Thank you !
The statement in the help is misleading

Code: Select all

copyto "c:\temp", "e:\test\*.*";      //copies all
Doesn't actually copy all :)

Re: SC copyto

Posted: 12 Jul 2024 13:31
by admin
Oh yes, gonna fix. :tup: