Page 1 of 1 1
Topic Options
#163848 - 2006-06-30 01:16 AM BUG - Creating a directory during copy
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11634
Loc: Space
Ruud,

Please review this thread for bug in COPY

Creating a directory during copy
http://www.kixtart.org/ubbthreads/showflat.php?Cat=0&Number=163836

Top
#163849 - 2006-10-07 03:34 PM Re: BUG - Creating a directory during copy
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
still there or fixed? could you test.
Top
#163850 - 2006-10-09 03:10 PM Re: BUG - Creating a directory during copy
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
FWIW, this is what the release notes for 4.53 claim:

Quote:


8) Fixed COPY of single file to a non-existing directory.


_________________________



Top
#163851 - 2006-10-09 09:36 PM Re: BUG - Creating a directory during copy
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11634
Loc: Space
Works just fine now.

Code:
KiXtart version is: 4.53
About to copy file from UNC...
Copy UNC File Error was: 0 - The operation completed successfully.


About to copy file from LOCAL DRIVE...
Copy LOCAL File Error was: 0 - The operation completed successfully.


About to copy file from MAPPED DRIVE...
Copy MAPPED File Error was: 0 - The operation completed successfully.


Top
#185976 - 2008-03-05 12:59 PM Re: BUG - Creating a directory during copy [Re: NTDOC]
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
hmmm, I just came across this in 4.53

in XP this copy statement works fine, but errors for Vista when the folder does not exist:
 Code:
                copy $setup+'\AHCA\Splash\*.jpg' '%programfiles%\ahca\splash\' /c /s

? $setup+'\AHCA\Splash\*.jpg'
? '%programfiles%\ahca\splash\'
? @serror


 Quote:

C:\Users\wheelerc\Desktop\AHCA\Splash\*.jpg
C:\Program Files\ahca\splash\
The system cannot find the path specified.


however, if I insert this for vista, it works fine:
 Code:
		md '%programfiles%\ahca\splash\'
                copy $setup+'\AHCA\Splash\*.jpg' '%programfiles%\ahca\splash\' /c /s

? $setup+'\AHCA\Splash\*.jpg'
? '%programfiles%\ahca\splash\'
? @serror


 Quote:

C:\Users\wheelerc\Desktop\AHCA\Splash\*.jpg
C:\Program Files\ahca\splash\
The operation completed successfully.


this may be an old "bug", I haven't tried 4.60 yet to see if it persists
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#185991 - 2008-03-05 08:33 PM Re: BUG - Creating a directory during copy [Re: Radimus]
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11634
Loc: Space
Well it's actually I suppose a benefit that COPY does create a folder on the fly for XP as Explorer and CMD do not behave this way.

If I get time this week I'll try to do some testing of it to confirm as well though.

Thanks Rad.

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 1447 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.056 seconds in which 0.024 seconds were spent on a total of 13 queries. Zlib compression enabled.