Page 1 of 1 1
Topic Options
#191985 - 2009-01-30 08:51 AM COPY Bug in 4.61 Beta 1
LutzHaseloff Offline
Just in Town

Registered: 2009-01-30
Posts: 1
Loc: Germany
Hi all,

after manually changing the download link to 4.61 Beta 1 (the link points to KiX2010_460b1.zip) i was able to check if the 4.61b1 COPY command shows the same (buggy?) behaviour like the COPY in 4.60.

I try to COPY a directory structure. I have no reading rights to all of the elements of this structure.

my code:
---------------------
@kix ?
copy "f:\tmp\quelle\" "c:\temp\ziel\" /c /s
'Code (' + @ERROR + ') ' + @SERROR
---------------------
output:
---------------------
4.61 Beta 1
Code (0) Der Vorgang wurde erfolgreich beendet.
---------------------

But COPY only copies until the first directory on which i have not enough rights to copy it. COPY copies the empty directory and exits with
exit code 0.

The only way i got it working was by using Windows' xcopy.exe.
xcopy says: "access denied" and copies the next directory/file.

Is this a bug?
What does the parameter /c do?

Greeting

Lutz

Top
#192003 - 2009-01-31 07:35 AM Re: COPY Bug in 4.61 Beta 1 [Re: LutzHaseloff]
paperinik Offline
Fresh Scripter

Registered: 2007-11-04
Posts: 23
Loc: Germany
Hello Lutz,

I think itīs NOT a bug.

Reason:

------------
Copy
Action: Copies one or more files or directories.

Syntax: COPY "source" "target" [/c] [/h] [/r] [/s]
/c Continue copying, even if error(s) occur.
-> = Kopieren fortsetzen, auch wenn Fehler auftreten

/h Copies hidden and system files also.

/r Overwrite read-only files on target.
/s Copies files and subdirectories (including empty subdirectories).


-> At the Kixtart-page -> "commandreference" you can see the documentation of the rest of the commands of kix.

-----------

As you can see with parameter /c errors are ignored.
In this logic the copy-process ended successfully.
Errors, as
"access denied" = "zugriff verweigert"
are ignored successfully, the copy command ended with no errors.

What will happen without parameter /c ?

Top
#192004 - 2009-02-01 03:29 AM Re: COPY Bug in 4.61 Beta 1 [Re: paperinik]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
what download link?
on kixtart.org downloads the link works just fine.
_________________________
!

download KiXnet

Top
#192005 - 2009-02-01 04:22 AM Re: COPY Bug in 4.61 Beta 1 [Re: Lonkero]
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
 Originally Posted By: Lonkero
what download link?
on kixtart.org downloads the link works just fine.
You mean the link to 4.60b1?

Use my link instead. It works.
http://www.kixtart.org/forums/ubbthreads.php?ubb=download&Number=160
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#192006 - 2009-02-01 11:12 AM Re: COPY Bug in 4.61 Beta 1 [Re: Les]
paperinik Offline
Fresh Scripter

Registered: 2007-11-04
Posts: 23
Loc: Germany
@les + @lonkero:

The problem of Lutz he wrote have nothing to do with any download-link.

His essential question was about the copy-command and how it works.

I think I answered his question, so he will know now about the command-structure of the copy-command (and why it works how it works (looking on errorlevels)).

Top
#192007 - 2009-02-01 11:27 AM Re: COPY Bug in 4.61 Beta 1 [Re: paperinik]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
sure, but I wanna know what link is wrong.

and les, what link to 4.60 beta???
_________________________
!

download KiXnet

Top
#192012 - 2009-02-01 03:27 PM Re: COPY Bug in 4.61 Beta 1 [Re: Lonkero]
Allen Administrator Offline
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4562
Loc: USA
I think it's cached info. I started to reply to your post above yesterday, and then suddenly it wasn't broke.
Top
#192013 - 2009-02-01 04:10 PM Re: COPY Bug in 4.61 Beta 1 [Re: Allen]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
what link?
_________________________
!

download KiXnet

Top
#192014 - 2009-02-01 05:14 PM Re: COPY Bug in 4.61 Beta 1 [Re: Lonkero]
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
 Originally Posted By: Lonkero
what link?
This one (note the URL on the staus line).


Attachments
165.jpg
Description:


_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#192016 - 2009-02-01 06:08 PM Re: COPY Bug in 4.61 Beta 1 [Re: Les]
Allen Administrator Offline
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4562
Loc: USA
Ahhh...

Here is the problem
In the Top Header, Downloads points to:
http://www.kixtart.org/?p=downloads
which has the correct Beta link to 4.61

In the News, download points to:
http://www.kixtart.org/downloads
which has the incorrect Beta link to 4.60

Top
#192017 - 2009-02-02 12:21 AM Re: COPY Bug in 4.61 Beta 1 [Re: Allen]
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Also note 2008 versus 2009.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#192022 - 2009-02-02 04:27 PM Re: COPY Bug in 4.61 Beta 1 [Re: Les]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
weird.
_________________________
!

download KiXnet

Top
#192023 - 2009-02-02 04:30 PM Re: COPY Bug in 4.61 Beta 1 [Re: Lonkero]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
k, fixed the links in the news section...
_________________________
!

download KiXnet

Top
#192024 - 2009-02-02 10:16 PM Re: COPY Bug in 4.61 Beta 1 [Re: Lonkero]
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Actually, it looks kinda borked. The link in the News pane on the right fills the main window with the same news pane contents.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#192026 - 2009-02-02 10:40 PM Re: COPY Bug in 4.61 Beta 1 [Re: Les]
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11627
Loc: CA
Yes, and then download does not work from there either.
Currently download link only appears to work from the image map.

Top
#192030 - 2009-02-03 12:04 AM Re: COPY Bug in 4.61 Beta 1 [Re: NTDOC]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
fixed, really-
_________________________
!

download KiXnet

Top
#192032 - 2009-02-03 02:25 PM Re: COPY Bug in 4.61 Beta 1 [Re: paperinik]
PRandal Offline
Fresh Scripter

Registered: 2002-07-17
Posts: 28
Back to the original problem.

The /c switch was used but the copy terminated unexpectedly.

Can anyone verify this?

Top
#192033 - 2009-02-03 07:46 PM Re: COPY Bug in 4.61 Beta 1 [Re: PRandal]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
yes, this is a bug.

not only it stops unexpectedly, it does not even set the error code.
_________________________
!

download KiXnet

Top
Page 1 of 1 1


Moderator:  ShaneEP, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 360 anonymous users online.
Newest Members
M_Moore, BeeEm, min_seow, Audio, Hoschi
17883 Registered Users

Generated in 0.075 seconds in which 0.03 seconds were spent on a total of 14 queries. Zlib compression enabled.