Jump to content

Recommended Posts

Posted (edited)

Hello everyone!

 

 

with this command I can create a bootable .iso type:  bootable EFI

Perfect working !

if exist DVD\efi\microsoft\boot\efisys.bin oscdimg.exe -bootdata:2#p0,e,bDVD\boot\etfsboot.com#pEF,e,bDVD\efi\microsoft\boot\efisys.bin -o -h -m -u2 -udfver102 -lWIN1064 DVD Windows10_x64.iso

converting the dos command to .au3 does not work

Not working !

Local $sFilePath = "DVD\boot\efisys.bin oscdimg -bootdata:2#p0,e,bDVD\boot\etfsboot.com#pEF,e,bDVD\boot\efisys.bin -o -h -m -u2 -udfver102 -lWIN1064 DVD Windows10_X64"
runWait(@ComSpec & " /cd " & $sFilePath)


 

Edited by AlMax3000
Posted

Since you've edited your question since Nine posted, but the error appears to still be there, do you realize that you're missing "\efi\microsoft\" from the middle of your path in your au3 file?

All my code provided is Public Domain... but it may not work. ;) Use it, change it, break it, whatever you want.

Spoiler

My Humble Contributions:
Personal Function Documentation - A personal HelpFile for your functions
Acro.au3 UDF - Automating Acrobat Pro
ToDo Finder - Find #ToDo: lines in your scripts
UI-SimpleWrappers UDF - Use UI Automation more Simply-er
KeePass UDF - Automate KeePass, a password manager
InputBoxes - Simple Input boxes for various variable types

Posted
2 hours ago, seadoggie01 said:

Since you've edited your question since Nine posted, but the error appears to still be there, do you realize that you're missing "\efi\microsoft\" from the middle of your path in your au3 file?

While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit
        Case $Button1
        _IsoFunction()
    EndSwitch
WEnd

Func _IsoFunction() 
local $sFilePath = "DVD\efi\microsoft\boot\efisys.bin oscdimg -bootdata:2#p0,e,bDVD\boot\etfsboot.com#pEF,e,bDVD\microsoft\boot\efisys.bin -o -h -m -u2 -udfver102 -lWIN1064 DVD Windows10_X64"
runWait(@ComSpec & " /c " & $sFilePath)
EndFunc

maybe it is missing some if but it works

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...