AlMax3000 Posted November 24, 2019 Posted November 24, 2019 (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 November 24, 2019 by AlMax3000
Nine Posted November 24, 2019 Posted November 24, 2019 There is a "if exist" in the DOS command. Where is it in au3 ? And both lines (Dos and Au3) are not perfectly equal, which one is right ? Use full path, not relative... “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Debug Messages Monitor UDF Screen Scraping Round Corner GUI UDF Multi-Threading Made Easy Interface Object based on Tag
seadoggie01 Posted November 24, 2019 Posted November 24, 2019 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 functionsAcro.au3 UDF - Automating Acrobat ProToDo Finder - Find #ToDo: lines in your scriptsUI-SimpleWrappers UDF - Use UI Automation more Simply-erKeePass UDF - Automate KeePass, a password managerInputBoxes - Simple Input boxes for various variable types
AlMax3000 Posted November 24, 2019 Author Posted November 24, 2019 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now