in reply to Executing program gui

Try the LIST form of system:
system('C:\\Program Files\\Kofax\\Capture\\bin\\ACXMLAI', '-gui', '-u:carter', '-p:welcome', ) and warn "Can't execute ACXMLAI: $?";