Topic: Xcopy – Aproblem occurred while copying the other folders  (Read 3634 times)

Xcopy – Aproblem occurred while copying the other folders
« on: December 27, 2015, 09:34:24 PM »

dpap

  • Jr. Chef
  • **
  • Date Registered: Dec 2015
  • Posts: 43
Hi,
Building the project, near the end (60/62 PostConfig , finalizing WinPESE) I receive the message :
"Xcopy – Aproblem occurred while copying the other folders "
And stops buildint
Why, please ?
I attach the zipped log

Re: Xcopy – Aproblem occurred while copying the other folders
« Reply #1 on: December 28, 2015, 12:58:39 AM »

dpap

  • Jr. Chef
  • **
  • Date Registered: Dec 2015
  • Posts: 43
SOLVED
thanks to KYHI
I have to put source directory out of programs directory

Re: Xcopy – Aproblem occurred while copying the other folders
« Reply #2 on: January 14, 2016, 10:54:48 AM »

hehe520

  • Jr. Chef
  • **
  • Date Registered: Jul 2013
  • Posts: 82
The following error or errors occurred while posting this message:

Re: Xcopy – Aproblem occurred while copying the other folders
« Reply #3 on: January 14, 2016, 11:16:40 AM »

ChrisR

  • XPE Baker
  • Grand Chef
  • *****
  • Date Registered: Mar 2011
  • Posts: 3494
Probably a locked file, a file in use. Have you opened a file during the build?
The error is a result of that, without more information:
xcopy.exe "%BaseDir%\Target\Win8.1SE\*.*" "%BaseDir%\ISO\TargetImage\WIM\" /i /s /e /r /v /k /f /c /h /y

To finish your build, you can manually copy, from explorer, All files and folders from Target\Win8.1SE in ISO\TargetImage\WIM\
And see if explorer give you more information on the locked file.
Then, just Finals\create ISO

Re: Xcopy – Aproblem occurred while copying the other folders
« Reply #4 on: January 14, 2016, 11:32:01 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
Hehe520

As written on FAQ
My Build Fails (or BSOD or any other trouble) - What to do  ?http://theoven.org/index.php?topic=834.0

 and many posts,
First ( 0b) )
Change your D:\Win8.1PE1 to D:\Oven

@Chris
Probably less # on VerificationP of .net plugin required for Win8.1SE

Not at home to test, on your hand :thumbsup:

Re: Xcopy – Aproblem occurred while copying the other folders
« Reply #5 on: January 14, 2016, 11:03:13 PM »

ChrisR

  • XPE Baker
  • Grand Chef
  • *****
  • Date Registered: Mar 2011
  • Posts: 3494
Probably less # on VerificationP of .net plugin required for Win8.1SE
I just watched, indeed, the Base Path should be shortened to 9 char max, D:\ included. Not to exceed the 256 characters limit.
How have they developped so long paths in DotNet-assemblies.

Code: [Select]
12345678901234567890123456789012345678\assembly\GAC_MSIL\Microsoft.Security.ApplicationId.Wizards.AutomaticRuleGenerationWizard.resources\v4.0_6.2.0.0_de_31bf3856ad364e35\Microsoft.Security.ApplicationId.Wizards.AutomaticRuleGenerationWizard.resources.dll
D:\456789\ISO\TargetImage\WIM\Programs\
D:\4567890\Projects\Win10PESE\Programs\
D:\4567890123\Target\Win8.1SE\Programs\

And in Plugin:
StrFormat,LEN,%BaseDir%,%StringLength%
If,%StringLength%,Bigger,9,Call,Echo,"Do not use %basedir% long path,...",Warn,,MessageError,,Halt

I'll make the change  :smile:

Re: Xcopy – Aproblem occurred while copying the other folders
« Reply #6 on: January 14, 2016, 11:22:03 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
How have they developped so long paths in DotNet-assemblies.
I feel it will continue up to its limit , since they can (since wim suppose to be delivered to target ntfs.....)
 12 11 10 9 8 7 6 5 4   :lol:
 and there will be another way required......

ps: Maybe https://msdn.microsoft.com/en-us/library/aa365247.aspx
"\\?\" prefix , \\?\D:\very long path"  -> 32,767 characters (much bigger than 260 characters  :wink:)
not tested with Xcopy, not tested anything related on these things....


btw, reminding, ppoe have some missing file etc. warning......

:turtle:

Re: Xcopy – Aproblem occurred while copying the other folders
« Reply #7 on: January 14, 2016, 11:55:22 PM »

ChrisR

  • XPE Baker
  • Grand Chef
  • *****
  • Date Registered: Mar 2011
  • Posts: 3494
Sure, they can continue up to its limit, not even afraid.

I had already seen \\?\D:\very long path", seems to be only for Windows API.
With xcopy it gives "Invalid drive specification", not to mention mkisofs and other tools.

Re: Xcopy – Aproblem occurred while copying the other folders
« Reply #8 on: January 15, 2016, 09:12:24 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
Yep I have not tried yet...
 I feel there should be a utility or way that use windows api of very long path ,
    since files are there but only fails during copy  :wink:

I already have an idea of workaround in mind with 7z no compresion  :wink:
  not tested if 7z can extract very long path (probably it can), well better way is xcopy alternative...

Anyway, time will show. :turtle:
 

 

Powered by EzPortal