SC copyto

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
Daniel0312
Posts: 238
Joined: 15 Feb 2016 10:48

SC copyto

Post 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.
Daniel
XY32 latest stable / Windows11 23H2 / Scaling 100%

highend
Posts: 14925
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: SC copyto

Post by highend »

Just use "*" as the wildcard
One of my scripts helped you out? Please donate via Paypal

Daniel0312
Posts: 238
Joined: 15 Feb 2016 10:48

Re: SC copyto

Post 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 :)
Daniel
XY32 latest stable / Windows11 23H2 / Scaling 100%

admin
Site Admin
Posts: 66094
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: SC copyto

Post by admin »

Oh yes, gonna fix. :tup:

Post Reply