Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2003-03-31
22:58 • Closed ticket [709427ffff]: file copy dir1 dir2 error in recursion plus 3 ot... artifact: f00c14c8e9 user: vincentdarley
2003-03-25
21:11 • Ticket [709427ffff]: 4 changes artifact: 3c1cc4e2e4 user: nobody
13:48 • New ticket [709427ffff]. artifact: 4eb25ad143 user: nobody

file copy dir1 dir2 error in recursion

Closed / Invalid709427ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 24 years ago
Descriptionplain2003-03-25 13:48:03
under activestate tcl 8.4.2.0, on windows 2000 sp3,
this part of a script:

        puts " copying from:\n$theSourceDir
\nto:\n$theDestDir"
        file copy -- "$theSourceDir" "$theDestDir"

results in this output:

 copying from:
E:\Projects\Development\Main\Sourcecontrol\Depot\DailyBuild\BuildSystemTCL\Output\LogFiles
to:
E:\Projects\Development\Main\Sourcecontrol\Depot\DailyBuild\BuildSystemTCL\Output20030325_142712
error copying
"E:\Projects\Development\Main\Sourcecontrol\Depot\DailyBuild\BuildSystemTCL\Output\LogFiles"
to
"E:\Projects\Development\Main\Sourcecontrol\Depot\DailyBuild\BuildSystemTCL\Output20030325_142712/LogFiles":
"E:/Projects/Development/Main/Sourcecontrol/Depot/DailyBuild/BuildSystemTcl/Output20030325_142712/LogFiles\LogFiles\LogFiles\LogFiles\LogFiles\LogFiles\LogFiles\LogFiles\LogFiles\LogFiles\LogFiles\LogFiles\LogFiles\LogFiles\LogFiles\LogFiles\LogFiles":
file name too long
    while executing
"file copy -- "$theSourceDir" "$theDestDir""
nobodyplain2003-03-25 21:11:30
Logged In: NO 

Never mind this, I had a bug somewhere that actually created
these directories just before copying... Sorry guys & girls :-(
vincentdarley Closed ticket [709427ffff]. [History diff]2003-03-31 22:58:08
Log in (anonymous is fine) to add a comment.