someone help me fixed this problem AutoIt v3
if FileBinder
"File 1" works well
"File 2" does not work
check
AutoIt
#include <Process.au3> #include <ButtonConstants.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> $Form1 = GUICreate("", 116, 116, 192, 124) $Button1 = GUICtrlCreateButton("File 1", 8, 8, 99, 25) GUICtrlSetBkColor($Button1, 0xFF0000) $Button2 = GUICtrlCreateButton("File 2", 8, 32, 99, 25) GUICtrlSetBkColor($Button2, 0xFF0000) $Button3 = GUICtrlCreateButton("doctoroctoganapus", 8, 80, 99, 25) $Input1 = GUICtrlCreateInput("Name for File 3", 8, 56, 97, 21) GUISetState(@SW_SHOW) $File1=False $File2=False While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Button1 $File1 = FileOpenDialog("Please choose the first file", @ScriptDir, "all files (*.*)") GUICtrlSetBkColor($Button1, 0x00FF00) Case $Button2 $File2 = FileOpenDialog("Please choose the second file", @ScriptDir, "all files (*.*)") GUICtrlSetBkColor($Button2, 0x00FF00) Case $Button3 If $File1=False Or $File2=False Then MsgBox(0,"Error","Please choose the files") Else $RDos=_RunDos('copy /b "'&$File1&'" + "'&$File2&'" "'&@ScriptDir&'\'&GUICtrlRead($Input1)&'"') EndIf EndSwitch WEnd