Page 120 of 125 FirstFirst ... 2070110118119120121122 ... LastLast
  1.    2 Weeks Ago #1191
    Join Date : Jun 2015
    Posts : 1,943
    Windows 3.1 to Windows 10
    Thread Starter

    you need to have the x86 boot.wim in the Winpese_Multi\x86\Sources folder
    and the x64 boot.wim in the Winpese_Multi\x64\Sources folder...

    Although the program should tell you if not present...

    Can you explain how you are using the process and explain or screen shot the error message??
      My ComputerSystem Spec
  2.    2 Weeks Ago #1192
    Join Date : Jan 2018
    Portugal
    Posts : 13
    Windows 10 Home

    Hi again

    yes, like is explain I copy the files one for each source directory...
    (your zip files creates the main dir estructure)
    then I run the script in an administrator window..
    and like you can see it makes the copy, and try to create the new ISO file...
    attention i don't create the output directory, so I suppose that the script can make them....
    Click image for larger version. 

Name:	err_3.jpg 
Views:	1 
Size:	81.3 KB 
ID:	170848

    I hope this is the proper way to send the file...
    tanks
      My ComputerSystem Spec
  3.    2 Weeks Ago #1193
    Join Date : Jul 2015
    Posts : 3,964
    10 Pro

    Quote Originally Posted by alr tech View Post
    attention i don't create the output directory, so I suppose that the script can make them....
    Sorry to interject but @Kyhi is offline.

    At the end of your path is "/01.iso". You can't have a "/" in a file name. It isn't clear if you want the file name to be "01.ISO" or "WinPESE_x86_x64_181/01.iso". Anyway it looks wrong. You can swap "/" and "\" interchangeably in the path (afaik) but can't include them in the file name.

    Try it without the "/" and if that doesn't work try creating directory "D:\varios\Toni\etc etc" as error 3 means "path not found"

    Note also that OSCDIMG will also fail with error 3 if D is formatted ReFS (see here). Something to think about if it still doesn't work but looks more like the file name is invalid.
      My ComputerSystem Spec
  4.    2 Weeks Ago #1194
    Join Date : Jan 2018
    Portugal
    Posts : 13
    Windows 10 Home

    Tanks Lx07

    The D drive is formated in NTSF...
    but good point... it may be a typo in the script...
    I believe that it was Kyhi that make it...
    a will try to change it...
    and lets see...
    hum... it isn't... it look likes more a wrong use of char table... maybe different compiling win versions...

    the file "ModifyWinPESE.cmd" have the culprit line :
    %Oscdimg% -bootdata:2#p0,e,b%Etfsboot%#pEF,e,b%Efisys% -h -m -o -u1 -udfver102 -lWinPESE_x86_x64 "%~dp0WinPESE_Multi" "%~dp0WinPESE_x86_x64_%dtStamp%.iso"

    and to be more exactly with the variable 'dtStamp' that receive the actual date
    the value of this variable changes along the script
    so it's what I understand... the system functions that return day-Month-year are returning wrong values.
    the 'set dtStamp=%date:~-2%%date:~4,2%%date:~7,2%' must be change in my system...

    for a try I will change the var with a date...
    Done...
    That's it ... now with the changes it creates the ISO file properly...
    so if anyone knows how to change...
    in my system if i input in a DOS window echo dtStamp=%date:~-2%%date:~4,2%%date:~7,2%
    I will get : dtstamp=04/01/2018

    and running the script I will get error again because of the "/". In your language it outputs with a "." so there's no problem...
    so its a system char problem..? does anyone knows how to change the code?
    tanks
    Last edited by alr tech; 2 Weeks Ago at 12:23. Reason: writing errors
      My ComputerSystem Spec
  5.    2 Weeks Ago #1195
    Join Date : Jul 2015
    Posts : 3,964
    10 Pro

    The ModifyWinPESE.cmd has this
    Code:
    set dtStamp=%date:~-2%%date:~4,2%%date:~7,2%
    If I try it in cmd prompt it looks not correct (18an18) but this could be my lack of understanding of how batch files work or date formats or anything. I don't know.

    Code:
    C:\WINDOWS\system32>set dtStamp=%date:~-2%%date:~4,2%%date:~7,2%
    
    C:\WINDOWS\system32>echo %dtStamp%
    18an18
    
    C:\WINDOWS\system32>
    I'd just hard code the ISO name until Kyhi or someone who knows batch files can respond.

    Something like
    Code:
    %Oscdimg% -bootdata:2#p0,e,b%Etfsboot%#pEF,e,b%Efisys% -h -m -o -u1 -udfver102 -lWinPESE_x86_x64 "%~dp0WinPESE_Multi" "%~dp0WinPESE_x86_x64_TEST.iso"
    or perhaps just
    Code:
    set dtStamp=TEST
      My ComputerSystem Spec
  6.    2 Weeks Ago #1196
    Join Date : Jun 2016
    Posts : 1,584
    Win10 1607

    Quote Originally Posted by lx07 View Post
    The ModifyWinPESE.cmd has this
    Code:
    set dtStamp=%date:~-2%%date:~4,2%%date:~7,2%
    If I try it in cmd prompt it looks not correct (18an18) but this could be my lack of understanding of how batch files work or date formats or anything. I don't know.

    Code:
    C:\WINDOWS\system32>set dtStamp=%date:~-2%%date:~4,2%%date:~7,2%
    
    C:\WINDOWS\system32>echo %dtStamp%
    18an18
    
    C:\WINDOWS\system32>
    I'd just hard code the ISO name until someone Kyhi or who knows batch files can respond.

    Something like
    Code:
    %Oscdimg% -bootdata:2#p0,e,b%Etfsboot%#pEF,e,b%Efisys% -h -m -o -u1 -udfver102 -lWinPESE_x86 "%~dp0WinPESE_x86" "%~dp0WinPESE_X86_TEST.iso"
    Looks like it doesn't work so well if not using US English Date Format of year-month-day

    Echo %dtstamp% should return 180104 today ............. if set using the "set dtstamp" line above 1st

    *** note there is no / or . in the Date

    Edit : I just set my system date to the day-month-year short setting and I get the same error as LX07 ie 18an18
    so try setting your Date to the US method of year-month-day and see if it helps....



    KB
      My ComputerSystem Spec
  7.    2 Weeks Ago #1197
    Join Date : Jun 2015
    Posts : 1,943
    Windows 3.1 to Windows 10
    Thread Starter

    at the very end of batch file you will see the date stamp code info saved

    Click image for larger version. 

Name:	ScreenShot00002.png 
Views:	32 
Size:	13.9 KB 
ID:	170969


    Code:
    set dtStamp=%date:~-2%%date:~4,2%%date:~7,2%
    Code:
    %Oscdimg% -bootdata:2#p0,e,b%Etfsboot%#pEF,e,b%Efisys% -h -m -o -u1 -udfver102 -lWinPESE_x86_x64 "%~dp0WinPESE_Multi" "%~dp0WinPESE_x86_x64_%dtStamp%.iso"
    or remove datestamp from iso name

    Code:
    %Oscdimg% -bootdata:2#p0,e,b%Etfsboot%#pEF,e,b%Efisys% -h -m -o -u1 -udfver102 -lWinPESE_x86_x64 "%~dp0WinPESE_Multi" "%~dp0WinPESE_x86_x64.iso"
      My ComputerSystem Spec
  8.    2 Weeks Ago #1198
    Join Date : Jan 2018
    Portugal
    Posts : 13
    Windows 10 Home

    Hi
    yes, i Believe the same...
    i try changing the script too...
    and I get the proper ISO that I will test... to see if it works properly...
    I began working in changing the script putting more code for validating the system, code page... but it will take time...
    for now I will just make a few adjustments, just set dtStamp="Jan2017"
    tanks for now
      My ComputerSystem Spec
  9.    2 Weeks Ago #1199
    Join Date : Jun 2016
    Posts : 1,584
    Win10 1607

    Instead of this line :

    Code:

    set dtStamp=%date:~-2%%date:~4,2%%date:~7,2%

    Try this , which should just use the Local Computer Date I believe, when you echo %dtstamp% on the command line

    Code:

    set dtStamp=%date%
      My ComputerSystem Spec
  10.    2 Weeks Ago #1200
    Join Date : Apr 2014
    Space coast of Florida
    Posts : 5,582
    Windows 10 Pro X64 16299.125

    On my system, echo %date% yields Fri 01/05/2018.
      My ComputersSystem Spec

 


Similar Threads
Thread Forum
Solved How to make active@boot disk bootable on uefi/gpt?
Hey Guys Does anyone know how this software can be configured to boot from usb on uefi/gpt. I formatted usb using rufus on the relevant mode then dragged over the contents of another usb where it does work on bios/mbr set up. But when booting...
Installation and Upgrade
Create Rescue Disk fails during disk creation
Have a new Double Power 8.1 Tablet that I've upgraded to Win 10. Now I've got it set up just right, I'm attempting to create a Rescue Disk. Purchased a 16gb micro-usb drive which is successfully recognized. Ran 'Create Rescue Disk' from Windows...
Performance & Maintenance
Solved Win 10 Rescue disk
I have a new laptop with win 7 pro installed. Once Win 10 is installed in July how will I be able to create a system restore disk?
Installation and Upgrade
Solved MiniTool Power Data Recovery to the rescue!!!
Just sharing this. I made another boo-boo today and deleted 500GB worth of media files (just movies and music). Don't ask me how because that's something nobody wants to do. :) I don't keep a backup of these files. For me these are disposable...
Software and Apps
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 23:44.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums