Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Copy poblem

Jun
5
0
Using TCC LE
This is my command line
copy /s D:\PortApps\Slimjet\"User Data"\Default\Extensions E:\TEMP\SLIMJET
Why is only content of "Extensions" copied, not the folder including content.
There used to be a command "Copydir" but not recogniced any more.
 
While copydir is not in your version of TCC/LE,
you could download and install TCC-RT,
and run the copydir command from TCC/LE,
using TCC-RT.

Code:
"C:\Program Files\JPSoft\TCC_RT_32\tcc.exe" /Q /C copydir
Usage : COPYDIR source destination

1714224511607.png


Joe
 
Another solution that works with TCC-LE is to append the source folder name to the target directory, and add the /md switch:

Code:
copy /s /md D:\PortApps\Slimjet\"User Data"\Default\Extensions E:\TEMP\SLIMJET\Extensions

If you want to test this solution before implementing it, copy has a switch /n to /not-execute, but only show what would happen.
 

Similar threads

Replies
7
Views
2K
Back
Top